-
Notifications
You must be signed in to change notification settings - Fork 6
chore: scope v4 branch workflows to v4 #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ name: Run Release Please | |
| on: | ||
| push: | ||
| branches: | ||
| - v3 | ||
| - v4 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The target branch for the release please action is v3. I believe the latest version of this GHA allows you to omit that branch entirely, and it will infer it from the branch that triggered the run. Refer to target branch on their docs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Release-please drops v3 branch from push triggerHigh Severity The Reviewed by Cursor Bugbot for commit 057ac3a. Configure here.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above: This is a per-branch workflow file. |
||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
|
|
@@ -15,4 +15,4 @@ jobs: | |
| steps: | ||
| - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 | ||
| with: | ||
| target-branch: v3 | ||
| target-branch: v4 | ||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI branch filter replaces v3 instead of adding v4
High Severity
The
pushandpull_requestbranch filters inci.ymlreplacev3withv4instead of addingv4alongsidev3. This removes all CI coverage (tests, lint, contract tests) for v3 pushes and PRs. The PR description explicitly states the intent is to "addv4to the branch lists," andcheck-go-versions.ymlcorrectly uses["v3", "v4"], confirming this is unintentional.Additional Locations (1)
.github/workflows/ci.yml#L7-L8Reviewed by Cursor Bugbot for commit 057ac3a. Configure here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a per-branch workflow file. It lives on the v4 branch, and on push events GitHub Actions reads the workflow file from the branch being pushed to.
The check-go-versions.yml matrix ["v3", "v4"] is deliberately different: it's a schedule workflow, and schedule events read the workflow file from the default branch only.