Skip to content

Add PAT fallback for Design Decision Gate failure issues - #54901

Closed
pelikhan with Copilot wants to merge 4 commits into
mainfrom
copilot/copilotfix-9919-1036865607-4914139b-66e6-49a3-8bbd
Closed

pelikhan with Copilot wants to merge 4 commits into
mainfrom
copilot/copilotfix-9919-1036865607-4914139b-66e6-49a3-8bbd

Conversation

Copilot AI commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Design Decision Gate failure-report issue creation can receive a restricted GITHUB_TOKEN on copilot/* pull-request branches, causing safe outputs to hard-fail before making GitHub API calls.

  • Scoped token fallback

    • Configures report-incomplete to prefer GH_AW_GITHUB_TOKEN, then fall back to GITHUB_TOKEN.
    • Applies the fallback to the generated create_report_incomplete_issue handler only.
  • Preserved MCP authentication

    • Retains the existing GH_AW_GITHUB_MCP_SERVER_TOKEN precedence for GitHub MCP setup.
safe-outputs:
  report-incomplete:
    github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}

Copilot AI changed the title [WIP] Add PAT fallback for create_issue in copilot branches Add PAT fallback for Design Decision Gate failure issues Aug 22, 2026
Copilot AI requested a review from pelikhan August 22, 2026 19:31
@pelikhan pelikhan closed this Aug 22, 2026
@github-actions
github-actions Bot deleted the copilot/copilotfix-9919-1036865607-4914139b-66e6-49a3-8bbd branch August 30, 2026 02:03
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-failures] [P1] Design Decision Gate: create_issue fails 'Resource not accessible by integration' on copilot/* PR branches

2 participants