Skip to content

Avoid red mirror-sync runs when the mirror PAT is not configured#221

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/skip-mirror-sync-when-pat-missing-2026-04-21-13-00
Apr 21, 2026
Merged

Avoid red mirror-sync runs when the mirror PAT is not configured#221
NagyVikt merged 1 commit intomainfrom
agent/codex/skip-mirror-sync-when-pat-missing-2026-04-21-13-00

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by scripts/agent-branch-finish.sh (PR flow).

The frontend mirror workflow is optional infrastructure around the canonical
frontend repo. A missing PAT should leave a clear skip message instead of
failing main-branch automation for otherwise valid repo changes.

Constraint: Cross-repo pushes still require a dedicated PAT with contents:write access
Rejected: Falling back to GITHUB_TOKEN for mirror pushes | default workflow token cannot reliably push to another repository
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep gating on env.SYNC_TOKEN rather than direct secrets.* expressions so workflow parsing stays consistent with other secret-optional jobs
Tested: node --test test/metadata.test.js
Not-tested: Live mirror push with a configured GUARDEX_FRONTEND_MIRROR_PAT
@NagyVikt NagyVikt merged commit a18a983 into main Apr 21, 2026
@NagyVikt NagyVikt deleted the agent/codex/skip-mirror-sync-when-pat-missing-2026-04-21-13-00 branch April 21, 2026 11:05
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.

1 participant