Skip to content

Commit 36a1dfd

Browse files
authored
Trying to fix the install
1 parent 4adc234 commit 36a1dfd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/automatically-request-copilot-review.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313
name: "Add Copilot to PR reviews"
1414
if: ${{ github.event.pull_request.draft == false }} # skip still-draft PRs
1515
runs-on: ubuntu-latest
16-
env:
17-
GH_TOKEN: ${{ secrets.GH_TOKEN_COPILOT_REVIEW }} # gh CLI picks this up automatically
1816

1917
steps:
2018
- name: Install gh-copilot-review extension
19+
env:
20+
GH_TOKEN: ${{ github.token }}
2121
run: gh extension install ChrisCarini/gh-copilot-review
2222

2323
- name: Ask Copilot to review this PR
24+
env:
25+
GH_TOKEN: ${{ secrets.GH_TOKEN_COPILOT_REVIEW }} # gh CLI picks this up automatically
2426
run: gh copilot-review "${{ github.event.pull_request.html_url }}"

0 commit comments

Comments
 (0)