Skip to content

Commit 5b92143

Browse files
lpcoxCopilot
andcommitted
fix: recognize copilot-pull-request-reviewer in ci-gate
The Copilot review bot uses the login 'copilot-pull-request-reviewer', which was not in the reviewer set. This caused the ci-gate to fail to add the ready-for-ci label after Copilot review. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 777ee82 commit 5b92143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci-gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/github-script@v7
2626
with:
2727
script: |
28-
const copilotReviewers = new Set(['copilot', 'copilot[bot]', 'Copilot']);
28+
const copilotReviewers = new Set(['copilot', 'copilot[bot]', 'Copilot', 'copilot-pull-request-reviewer']);
2929
const isCopilotReviewer = login => copilotReviewers.has(login ?? '');
3030
const { owner, repo } = context.repo;
3131
const pr_number = context.payload.pull_request?.number

0 commit comments

Comments
 (0)