Skip to content

engine: honor branch protection at admission - #81

Merged
rbtr merged 2 commits into
mainfrom
fix/admission-protection
Sep 5, 2026
Merged

engine: honor branch protection at admission#81
rbtr merged 2 commits into
mainfrom
fix/admission-protection

Conversation

@rbtr

@rbtr rbtr commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • use Forgejo’s branch-protection endpoint for admission rules
  • block staging until required external commit statuses pass
  • keep shunt’s own status out of the admission check

Fixes #73 and #74.

Validation

  • make lint test build

rbtr added 2 commits September 4, 2026 20:04
Read Forgejo branch-protection rules and wait for required external statuses before staging a merge queue batch.
@rbtr
rbtr merged commit f30f25b into main Sep 5, 2026
4 checks passed
@rbtr
rbtr deleted the fix/admission-protection branch September 5, 2026 01:34
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.

Admission gate is inert on Forgejo: ProtectedBranch() uses the GitHub branch-protection path

1 participant