Skip to content

Commit ad37502

Browse files
committed
Update GitHub token reference to use COPILOT_GITHUB_TOKEN in issue creation workflow
1 parent 24420db commit ad37502

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/copilot-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: Create issue and assign to Copilot
2323
env:
24-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GH_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
2525
run: |
2626
TITLE="${{ inputs.title || 'Investigation needed from Copilot Coding Agent' }}"
2727
gh api \
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Create issue via GraphQL
6464
env:
65-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
6666
GITHUB_REPO_OWNER: ${{ github.repository_owner }}
6767
GITHUB_REPO_NAME: ${{ github.event.repository.name }}
6868
run: npx tsx create-issue-assigned-to-copilot.ts "${{ inputs.title || 'Investigation needed from Copilot Coding Agent' }}"

0 commit comments

Comments
 (0)