Skip to content

[ci] Run PR checks on release branches (release-0.30) - #467

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

[ci] Run PR checks on release branches (release-0.30)#467
Glitchy-Sheep wants to merge 1 commit into
release-0.30from
ci/run-checks-on-release-branches-0.30

Conversation

@Glitchy-Sheep

Copy link
Copy Markdown
Contributor

Problem

PRs into release-0.30 get no CI. The only check they receive is DCO. The pull_request trigger in .github/workflows/release.yaml matches only base main, so test, lint and pr-build never start for PRs into this branch.

The recent backports show the cost. #459, #460 and #461 all merged here without checks, and #460 broke the v0.30.22 build - it was only caught when the tag was built, and #461 exists solely to fix that. The pr-build job would have caught it at PR time.

Fix

Add release-* to the trigger filter. Same one-line fix as #441 does for release-0.32.

The jobs need no changes: release, test, lint and pr-build all exist in this branch and the Taskfile targets they call are present.

Proof

This PR runs its own checks: for pull_request events GitHub reads the workflow from the merge ref of the PR, so the new filter already applies here.

The same change lands on main separately, so future release branches are cut with the filter already correct.

Same one-line fix as #441 for release-0.32: PRs into this branch get
no CI because the pull_request trigger only matches base main.

Recent backports show the cost: #460 broke the v0.30.22 build and it
was only caught when the tag was built (#461). The pr-build job would
have caught it at PR time.

Signed-off-by: Roman Berezkin <roman.berezkin@flant.com>
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