Skip to content

Commit 7d26b70

Browse files
committed
fix: reorder environment variables for GitHub Copilot CLI installation and analysis step
1 parent 35c592b commit 7d26b70

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,17 +20,15 @@ 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 }} # Personal PAT for Copilot API authentication
3330
GITHUB_MCP_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Workflow token for MCP GitHub operations (issues)
31+
GH_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} # Personal PAT for Copilot API authentication
3432
run: |
3533
echo "Analyzing commit ${{ github.sha }}"
3634
echo "Loading documentation criteria from prompt..."

0 commit comments

Comments
 (0)