ci: make ci.yml branch triggers self-referential - #1294
Merged
Conversation
GitHub Actions runs the copy of ci.yml on the ref where the event fires and matches branches: against that same ref, so cross-branch entries never apply. Drop the inert master/8.0 entries from push on the 7.3 branch and quote 7.3 in pull_request; the filter now lists only 7.3. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
mmattel
approved these changes
Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Make the
push/pull_requestbranch filters in.github/workflows/ci.ymlself-referential on the7.3branch.Why
GitHub Actions runs the copy of
ci.ymlon the ref where the event fires and matchesbranches:against that same ref. A push to7.3can only match7.3— themaster/8.0entries inpush.branchesare inert copy-paste residue.pull_requestwas already correct (7.3); this just quotes it for consistency.Part of a coordinated cleanup making each branch's
ci.ymlself-referential (companion PRs: #1291master, #12928.1, #12938.0).Change
push.branches:master, 8.0, 7.3→'7.3'pull_request.branches:7.3→'7.3'(quoting only)No
jobs:changes.🤖 Generated with Claude Code