Skip to content

Commit d6668f6

Browse files
authored
Update environment variable for Copilot CLI
Replaced GH_TOKEN with GITHUB_TOKEN for Copilot CLI.
1 parent 14c29bd commit d6668f6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/copilot.generate-docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,14 @@ jobs:
2020
fetch-depth: 0
2121

2222
- name: Install GitHub Copilot CLI
23-
env:
24-
GH_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
2523
run: |
2624
curl -fsSL https://gh.io/copilot-install | bash
2725
echo "Installed Copilot CLI version:"
2826
copilot --version
2927
3028
- name: Analyze and delegate to Copilot
3129
env:
32-
GH_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
30+
GITHUB_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
3331
run: |
3432
echo "Analyzing commit ${{ github.sha }}"
3533
echo "Loading documentation criteria from prompt..."

0 commit comments

Comments
 (0)