Skip to content

ci(sync): merge sync PRs directly instead of enabling auto-merge - #289

Merged
David-Noble-at-work merged 1 commit into
developfrom
ci/sync-pr-direct-merge
Jul 25, 2026
Merged

David-Noble-at-work merged 1 commit into
developfrom
ci/sync-pr-direct-merge

Conversation

@David-Noble-at-work

Copy link
Copy Markdown
Contributor

Auto-merge never applies bypass and waits on review requirements the automation app's PRs cannot satisfy, so knowledge syncs to devlore-registry failed at the merge step and CLI-docs PRs on devlore.noblefactor.com piled up open (45 currently). The org ruleset already grants noblefactor-automation bypass_mode: always; dropping --auto from both gh pr merge invocations lets the app merge directly under that bypass. No settings changes. The stale sync PRs on devlore.noblefactor.com still need closing separately, and the registry's red "Validate YAML schemas" check (star built from noblefactor-ops vs devlore-cli extensions) is chartered as its own follow-up.

Auto-merge waits for every ruleset requirement and never applies bypass, so
the automation app's sync PRs could never complete. knowledge-extract failed
loudly at its last step ("Auto merge is not allowed for this repository" --
devlore-registry has auto-merge disabled), and docs-publish reported success
while its PRs accumulated open forever (45 open on devlore.noblefactor.com;
47 were purged from devlore-registry). The org protection ruleset already
grants noblefactor-automation bypass_mode=always, but bypass only takes
effect on a direct merge.

Drop --auto from both merge invocations so the app merges immediately under
its existing bypass. No repository or ruleset settings change.
@David-Noble-at-work
David-Noble-at-work merged commit 129aeda into develop Jul 25, 2026
2 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the ci/sync-pr-direct-merge branch July 25, 2026 07:39
David-Noble-at-work added a commit that referenced this pull request Jul 27, 2026
…#300)

The site's branch policy blocks a plain merge until required checks
finish, and policy prevents --auto (ruling 2026-07-27): docs-publish's
sync merge gains --admin. The install-script sync in release.yaml only
created its PR — #289's direct-merge change covered docs-publish alone
— so it now captures the PR URL and merges --admin --squash
--delete-branch, matching the #289 philosophy.

Both merges run under the automation app's token; --admin requires the
app to hold admin on the site repo. The next docs-sync chain run is the
live proof. Plan: docs/plans/ci-admin-merge-sync-prs.md.

Co-authored-by: David Noble <[email protected]>
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