From f94d131c28ccef93708cda1de29c6e47d2b8f610 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 29 Oct 2025 20:29:52 -0700 Subject: [PATCH] Auto-assigning copilot this way doesn't work --- .github/repository-settings.md | 1 - .github/workflows/assign-copilot-reviewer.yml | 25 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 .github/workflows/assign-copilot-reviewer.yml diff --git a/.github/repository-settings.md b/.github/repository-settings.md index 9baac8ff0..1541710e4 100644 --- a/.github/repository-settings.md +++ b/.github/repository-settings.md @@ -20,7 +20,6 @@ private admin repo. ### Repository secrets -- `COPILOT_ASSIGNING_PAT` - owned by [@trask](https://github.com/trask) - `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password - `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password - `NVD_API_KEY` - stored in OpenTelemetry-Java 1Password diff --git a/.github/workflows/assign-copilot-reviewer.yml b/.github/workflows/assign-copilot-reviewer.yml deleted file mode 100644 index 54577e2ee..000000000 --- a/.github/workflows/assign-copilot-reviewer.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Assign Copilot as reviewer - -on: - pull_request_target: - types: - - ready_for_review - -permissions: - contents: read - -jobs: - assign-copilot: - runs-on: ubuntu-latest - steps: - - name: Assign Copilot as reviewer - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 - with: - github-token: ${{ secrets.COPILOT_ASSIGNING_PAT }} - script: | - await github.rest.pulls.requestReviewers({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.payload.pull_request.number, - reviewers: ['copilot-swe-agent'] - });