From 3daefa92c8cb62862672ca935b1f6a1bdcbd48dc Mon Sep 17 00:00:00 2001 From: viniciusadrapidadinho Date: Thu, 9 Jan 2025 11:04:31 -0400 Subject: [PATCH 1/2] Delete .github directory Retirerd --- .github/ISSUE_TEMPLATE/bug_report.md | 27 -------- .github/ISSUE_TEMPLATE/config.yml | 5 -- .github/ISSUE_TEMPLATE/feature_request.md | 8 --- .github/actions/set-xcode-version/action.yml | 31 --------- .github/pull_request_template.md | 1 - .github/workflows/auto-close-pr.yml | 20 ------ .github/workflows/codeql.yml | 71 -------------------- 7 files changed, 163 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/actions/set-xcode-version/action.yml delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/workflows/auto-close-pr.yml delete mode 100644 .github/workflows/codeql.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 8ce1fa5..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve GitHub Copilot for Xcode ---- - - - -**Describe the bug** - - -**Versions** -- Copilot for Xcode: [e.g. 0.25.0] -- Xcode: [e.g. 16.0] -- macOS: [e.g. 14.6.1] - -**Steps to reproduce** -1. -2. - -**Screenshots** - - -**Logs** - - -**Additional context** - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 434de54..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,5 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Questions - url: https://github.com/orgs/community/discussions/categories/copilot - about: Please ask and answer questions about GitHub Copilot here diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 3f98d70..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for GitHub Copilot for Xcode ---- - - - - \ No newline at end of file diff --git a/.github/actions/set-xcode-version/action.yml b/.github/actions/set-xcode-version/action.yml deleted file mode 100644 index 1a6bb6c..0000000 --- a/.github/actions/set-xcode-version/action.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: 'Composite Xcode Path' -description: 'Get Xcode version to be used across all actions' -inputs: - xcode-version: - description: - Xcode version to use, in semver(ish)-style matching the format on the Actions runner image. - See available versions at https://github.com/actions/runner-images/blame/main/images/macos/macos-14-Readme.md#xcode - required: false - default: '15.3' -outputs: - xcode-path: - description: "Path to current Xcode version" - value: ${{ steps.xcode-path.outputs.xcode-path }} -runs: - using: "composite" - steps: - - name: Set XCODE_PATH env var - env: - XCODE_PATH: "/Applications/Xcode_${{ inputs.xcode-version }}.app" - run: echo "XCODE_PATH=${{ env.XCODE_PATH }}" >> $GITHUB_ENV - shell: bash - - name: Set Xcode version - run: sudo xcode-select -s ${{ env.XCODE_PATH }} - shell: bash - - name: Enable new build system integration - run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1 - shell: bash - - name: Output Xcode path - id: xcode-path - run: echo "xcode-path=$(echo ${{ env.XCODE_PATH }})" >> $GITHUB_OUTPUT - shell: bash diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 0f96f54..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1 +0,0 @@ -At the moment we are not accepting contributions to the repository. \ No newline at end of file diff --git a/.github/workflows/auto-close-pr.yml b/.github/workflows/auto-close-pr.yml deleted file mode 100644 index de2ca78..0000000 --- a/.github/workflows/auto-close-pr.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Auto-close PR -on: - pull_request_target: - types: [opened, reopened] - -jobs: - close: - name: Run - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - run: | - gh pr close ${{ github.event.pull_request.number }} --comment \ - "At the moment we are not accepting contributions to the repository. - - Feedback for GitHub Copilot for Xcode can be given in the [Copilot community discussions](https://github.com/orgs/community/discussions/categories/copilot)." - env: - GH_REPO: ${{ github.repository }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 78e3596..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: "CodeQL Advanced" - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: '24 23 * * 1' - -jobs: - analyze: - name: Analyze (${{ matrix.language }}) - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} - permissions: - # required for all workflows - security-events: write - - # required to fetch internal or private CodeQL packs - packages: read - - # only required for workflows in private repositories - actions: read - contents: read - - strategy: - fail-fast: false - matrix: - include: - - language: python - build-mode: none - - language: swift - build-mode: manual - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - build-mode: ${{ matrix.build-mode }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - if: matrix.build-mode == 'manual' - uses: ./.github/actions/set-xcode-version - - - if: matrix.build-mode == 'manual' - shell: bash - run: | - xcodebuild \ - -scheme 'Copilot for Xcode' \ - -quiet \ - -archivePath build/Archives/CopilotForXcode.xcarchive \ - -configuration Release \ - -skipMacroValidation \ - -disableAutomaticPackageResolution \ - -workspace 'Copilot for Xcode.xcworkspace' \ - archive \ - CODE_SIGNING_ALLOWED="NO" - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}" From 04bb8c4ac18b6753b49e10f7b8e96cbe0056d20a Mon Sep 17 00:00:00 2001 From: viniciusadrapidadinho Date: Thu, 9 Jan 2025 11:34:22 -0400 Subject: [PATCH 2/2] Rename README.md to README.mde --- README.md => README.mde | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README.md => README.mde (100%) diff --git a/README.md b/README.mde similarity index 100% rename from README.md rename to README.mde