Skip to content

ci: auto-merge the pending release PR on the weekly run - #416

Merged
panz3r merged 1 commit into
mainfrom
ci/release-auto-merge
Sep 29, 2026
Merged

panz3r merged 1 commit into
mainfrom
ci/release-auto-merge

Conversation

@panz3r

@panz3r panz3r commented Sep 29, 2026

Copy link
Copy Markdown
Member

Why

Release PRs are pushed by release-please with GITHUB_TOKEN, so the required Build & Test checks never run on them and they are merged by hand with admin bypass.

Changes

  • release.yml: new merge-release-pr job, only on the scheduled run. It finds the open autorelease: pending PR, dispatches build-test.yml on its branch (dispatch is allowed with GITHUB_TOKEN), waits for the required checks, squash-merges with --match-head-commit, then dispatches release.yml on main to tag and publish.

Pushes to main still only update the release PR; the weekly run ships it. Merging the release PR by hand keeps working as before.

@panz3r
panz3r merged commit d5ca967 into main Sep 29, 2026
10 checks passed
@panz3r
panz3r deleted the ci/release-auto-merge branch September 29, 2026 14:33
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