Skip to content

Check that only rc merges into the default branch - #5

Merged
jwrosewell merged 1 commit into
rcfrom
feature/only-rc-into-main
Nov 3, 2026
Merged

jwrosewell merged 1 commit into
rcfrom
feature/only-rc-into-main

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Adds the check that only rc merges into this repository's default branch. It calls common-ci's shared workflow (common-ci#294) on every pull request. A pull request into the default branch fails unless its head is this repository's rc, and any other pull request passes.

The check is "Only rc into main / check", the same in every 51Degrees public repository, so one organisation ruleset can require it on each default branch.

It uses the workflow from common-ci's main, so it cannot start until common-ci#294 has reached common-ci's main. Until then this pull request's own check fails to start, which is expected. Merge it into rc after that.

@jwrosewell
jwrosewell marked this pull request as ready for review November 3, 2026 18:44
@jwrosewell
jwrosewell merged commit 38c8595 into rc Nov 3, 2026
@jwrosewell
jwrosewell deleted the feature/only-rc-into-main branch November 3, 2026 18:44
@jwrosewell jwrosewell mentioned this pull request Nov 3, 2026
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