fix(sync): add github.token fallback to prevent auth failures in main… - #19
Merged
Merged
Conversation
…t-68 The sync workflow fails on every run because REPO_TOKEN is empty when neither OWNER_PR_PAT nor SERVICE_BOT_PAT secrets are configured. This causes `gh repo clone` to exit with code 4 (auth required). - Add `github.token` as final fallback so clone/read operations succeed - Add explicit "Verify cross-repo token" step that fails early with a clear error message when no PAT is available for PR creation - This prevents all 11 matrix jobs from failing with the same cryptic "set GH_TOKEN environment variable" error https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
|
|
iamkayleb
temporarily deployed
to
agent-high-privilege
March 24, 2026 13:18 — with
GitHub Actions
Inactive
Automated Status SummaryHead SHA: ff96868
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…t-68
The sync workflow fails on every run because REPO_TOKEN is empty when neither OWNER_PR_PAT nor SERVICE_BOT_PAT secrets are configured. This causes
gh repo cloneto exit with code 4 (auth required).github.tokenas final fallback so clone/read operations succeedhttps://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5