Repository navigation
fix(ci): the index sync merges with the entitlement it actually holds - #88
Merged
David-Noble-at-work merged 1 commit intoAug 28, 2026
Merged
Conversation
Every pull request this workflow opened was left green and stranded. Four accumulated in two days -- #83, #85, #87, and the branch behind #80 -- each with quality-gate and validate-yaml-schemas passing and nothing wrong but the merge. Two rulesets apply, and only one of them is bypassable here: org 12426847 requires an approving review; the NobleFactor Automation app IS a bypass actor, in pull_request mode repo 21604093 requires quality-gate and validate-yaml-schemas; the app is NOT a bypass actor, so a red check refuses the merge server-side --admin was dropped on the reasoning that it "cannot grant entitlement the app does not have". True of 21604093. False of 12426847. Conflating them broke the workflow: without the flag, gh's client-side veto refuses on REVIEW_REQUIRED before the server is ever asked, and no human reviews a machine-generated index update. The flag does exactly one thing: it stops gh refusing on a requirement the app is entitled to bypass. A red gate still refuses, because 21604093 has no bypass for this actor. Nothing about the freeze changes. --auto is not the alternative. allow_auto_merge is false on this repository, and even enabled it would queue behind a review that never arrives; require_last_push_approval is true, so the app cannot approve its own push either.
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.
Every PR this workflow opened was left green and stranded. Four accumulated in two days — #83,
#85, #87, and the branch behind #80 — each with
quality-gateandvalidate-yaml-schemaspassingand nothing wrong but the merge.
Two rulesets, one of them bypassable
pull_requestmodequality-gate,validate-yaml-schemas--adminwas dropped on the reasoning that it "cannot grant entitlement the app does not have".True of 21604093. False of 12426847. Conflating the two broke the workflow: without the flag,
gh's client-side veto refuses onREVIEW_REQUIREDbefore the server is ever asked — and no humanreviews a machine-generated index update.
What the flag does, and does not
It stops
ghrefusing on a requirement the app is entitled to bypass. A redquality-gateorvalidate-yaml-schemasstill refuses, because 21604093 has no bypass for this actor. The freezeis unaffected — a failing registry still stops the sync.
Why not
--autoallow_auto_mergeisfalseon this repository. Enabling it would not help: auto-merge waits forall requirements, and the review will never arrive.
require_last_push_approvalistrue, so theapp cannot approve its own push either.
Companion fix in devlore-cli's
knowledge-extract.yaml, which carries the identical defect for theidentical reason.