Skip to content

Investigate safe-output credential isolation - #78138

Closed
pelikhan wants to merge 1 commit into
mainfrom
copilot/fix-github-token-scope-issue
Closed

pelikhan wants to merge 1 commit into
mainfrom
copilot/fix-github-token-scope-issue

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Handler-scoped tokens can be used for the shared checkout and Git credential configuration, causing a 403 when a token cannot access the workflow repository.

  • Status: No fix is included. The shared checkout and handler Git operations need credential isolation that preserves per-handler authentication.

@github-actions

Copy link
Copy Markdown
Contributor

Great work starting on this fix, @pelikhan! 🎯

This PR addresses the critical issue of handler-scoped github-token values being incorrectly hoisted to the job-level GITHUB_TOKEN env var, which breaks default checkout when the scoped token lacks access to the source repo.

I see this is a draft with no code changes yet—that's perfectly aligned with the agentic development workflow. As you develop this:

Keep updating the PR description as you form the plan and make progress—this will help reviewers stay aligned. Looking forward to seeing the implementation!

Generated by ✅ Contribution Check · copilot · routed: haiku55 xhigh · ~16 AIC · ⌖ ~2 AIC · ⊞ 5.4K · ◷

@pelikhan pelikhan changed the title [WIP] Fix handler-scoped github-token hoisting in safe_outputs job Investigate safe-output credential isolation Nov 15, 2026
@pelikhan pelikhan closed this Nov 15, 2026
@github-actions
github-actions Bot deleted the copilot/fix-github-token-scope-issue branch November 23, 2026 02:04
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.

safe_outputs job hoists a handler-scoped github-token into job-level GITHUB_TOKEN, breaking default checkout (403)

2 participants