Skip to content

Fix Issue Triage workflow Copilot auth by using GitHub Actions token#8

Draft
fs98 with Copilot wants to merge 4 commits into
masterfrom
copilot/fix-issue-triage-failure
Draft

Fix Issue Triage workflow Copilot auth by using GitHub Actions token#8
fs98 with Copilot wants to merge 4 commits into
masterfrom
copilot/fix-issue-triage-failure

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

The Issue Triage workflow was failing in the agent job with repeated Copilot provider 401 errors, preventing triage execution. This change updates token wiring in the locked workflow so Copilot CLI auth uses the workflow-scoped GitHub token consistently.

  • Auth source normalization

    • Replaced secrets.COPILOT_GITHUB_TOKEN with github.token for COPILOT_GITHUB_TOKEN in all relevant execution paths of .github/workflows/issue-triage.lock.yml.
  • Updated locations

    • Secret validation step environment.
    • Main agent execution environment.
    • Detection execution environment.
  • Net effect

    • Removes dependency on a separately managed repo secret for this workflow path and aligns Copilot auth with the token guaranteed in the run context.
env:
  COPILOT_GITHUB_TOKEN: ${{ github.token }}

Copilot AI linked an issue Jul 10, 2026 that may be closed by this pull request
Copilot AI and others added 3 commits July 10, 2026 09:25
Co-authored-by: fs98 <58662488+fs98@users.noreply.github.com>
Co-authored-by: fs98 <58662488+fs98@users.noreply.github.com>
Co-authored-by: fs98 <58662488+fs98@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue triage failed workflow due to authentication issue Fix Issue Triage workflow Copilot auth by using GitHub Actions token Jul 10, 2026
Copilot AI requested a review from fs98 July 10, 2026 09:29
Copilot finished work on behalf of fs98 July 10, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Issue Triage failed

2 participants