Skip to content

[ci] Run PR checks on release branches (main) - #468

Open
Glitchy-Sheep wants to merge 1 commit into
mainfrom
ci/run-checks-on-release-branches-main
Open

[ci] Run PR checks on release branches (main)#468
Glitchy-Sheep wants to merge 1 commit into
mainfrom
ci/run-checks-on-release-branches-main

Conversation

@Glitchy-Sheep

Copy link
Copy Markdown
Contributor

Problem

PRs into release branches get no CI: the pull_request trigger in .github/workflows/release.yaml matches only base main. Backports land by hand, which is the kind of change that most needs checks, and today a broken backport shows up only when the release tag is built (see #460 breaking the v0.30.22 build, fixed by #461).

Fix

Add release-* to the trigger filter.

For pull_request events GitHub reads the workflow from the merge ref of the PR, i.e. from the base branch. So this change on main does not affect the existing release branches - it makes sure every future release branch cut from main starts with the correct filter, so the problem does not come back.

The existing branches are covered separately with the same one-liner: #441 for release-0.32, #467 for release-0.30.

For pull_request events GitHub reads the workflow from the merge ref
of the PR, so this change on main does not affect the existing release
branches. It makes sure every future release branch cut from main
starts with the correct trigger filter.

Existing branches are covered separately: #441 (release-0.32) and a
sibling PR for release-0.30.

Signed-off-by: Roman Berezkin <roman.berezkin@flant.com>
@Glitchy-Sheep Glitchy-Sheep self-assigned this Aug 30, 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