Summary
When github-actions[bot] updates an open PR branch via .github/workflows/pr-branch-sync.yml, the resulting head produces action_required runs for CI, SAST, and Secret Scan. Those required checks never report, so the PR stays blocked even when the merge tree is clean.
Tracked in the repo ledger as #082 (docs/outstanding-issues.md). This GitHub issue exists so the work is visible outside the ledger.
Evidence
Heads pushed by an agent or human still run normally.
Working mitigation (until fixed)
- Apply the
skip-branch-sync label (stops the re-sync loop).
- Push an own-authored (non-bot) commit so required checks actually run.
- Merge before removing the label if further syncs would re-stall the head.
Opt-out labels already wired in the workflow: hold, do-not-merge, skip-branch-sync.
Fix options (pick one)
- Preferred: allow the sync bot identity in the repository Actions approval settings so bot-authored heads auto-run the required workflows.
- Alternative: change the sync to push with a token whose workflow runs auto-execute (PAT / GitHub App), rather than
github-actions[bot].
- Fallback: drop or narrow auto-sync if the approval path cannot be fixed safely.
Success criteria
A bot-synced PR reaches green required checks with no manual / agent push.
Stop rules
- Do not widen Actions approval for fork / untrusted actors.
- Do not clear the block by bypassing required checks.
Related
- Workflow:
.github/workflows/pr-branch-sync.yml
- Process note:
docs/process-hardening.md § "Open PR branch sync"
- Ledger:
docs/outstanding-issues.md #082
Summary
When
github-actions[bot]updates an open PR branch via.github/workflows/pr-branch-sync.yml, the resulting head producesaction_requiredruns for CI, SAST, and Secret Scan. Those required checks never report, so the PR stays blocked even when the merge tree is clean.Tracked in the repo ledger as
#082(docs/outstanding-issues.md). This GitHub issue exists so the work is visible outside the ledger.Evidence
e927cc3c,e74ce083,84a224ba,54bea70b,0ab9e331); normal and--adminmerge both refused.4c228055/f7208d52/df42124a; cleared after applyingskip-branch-syncand pushing an agent-authored head (f3f0a75b/65f7580c), then merged.Heads pushed by an agent or human still run normally.
Working mitigation (until fixed)
skip-branch-synclabel (stops the re-sync loop).Opt-out labels already wired in the workflow:
hold,do-not-merge,skip-branch-sync.Fix options (pick one)
github-actions[bot].Success criteria
A bot-synced PR reaches green required checks with no manual / agent push.
Stop rules
Related
.github/workflows/pr-branch-sync.ymldocs/process-hardening.md§ "Open PR branch sync"docs/outstanding-issues.md#082