Skip to content

ci: run Tests and Lint on pushes to release branches - #913

Merged
bkeroack merged 1 commit into
release/0.6from
ci/test-release-branch-pushes
Oct 6, 2026
Merged

bkeroack merged 1 commit into
release/0.6from
ci/test-release-branch-pushes

Conversation

@bkeroack

@bkeroack bkeroack commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

ci.yml runs on pull requests and on pushes to master, so nothing tests release/0.6 after a merge. A PR is tested as head-merged-into-base when its checks run. With --admin merges, a PR's green checks can predate another fix that merged into the branch after them, and 0.6.x is tagged from that branch. #898 and #899 merged that way today, so their combined tree was only checked locally.

Change

  • push.branches gains 'release/**', so every push to a release branch gets the same Tests and Lint run as a push to master.
  • seed-cache stays master-only (its own if:). Push runs are still never cancelled, since the concurrency group is per ref and cancel-in-progress is for pull requests only.
  • The header comments say so.

Nothing in ci.yml publishes, so a release-branch push only builds and tests. The old release/0.3.1 and release/0.3.2 branches match too, but nothing pushes to them.

Verifying

A push run uses the ci.yml in the pushed commit, so merging this PR into release/0.6 is the first push it triggers: a CI run on release/0.6 should appear for the merge commit. The YAML parses (push.branches is ['master', 'release/**']); actionlint runs in this PR's Lint job.

Follow-up

The same change goes to master after this merges, so release/0.7 inherits it when it is cut.

🤖 Generated with Claude Code

ci.yml ran on pull requests and on pushes to master only, so nothing
tested release/0.6 after a merge. A PR is tested as head-merged-into-base
at event time, and an --admin merge can land on top of a fix that merged
after that run, so the 0.6.x branch could reach a tag with a combination
no CI run had built. Pushes to release/** now get the same Tests and Lint
run as master pushes. seed-cache stays master-only, and push runs are
still never cancelled.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@bkeroack
bkeroack merged commit 85b704e into release/0.6 Oct 6, 2026
55 of 58 checks passed
@bkeroack
bkeroack deleted the ci/test-release-branch-pushes branch October 6, 2026 21:21
bkeroack added a commit that referenced this pull request Oct 6, 2026
ci.yml ran on pull requests and on pushes to master only, so nothing
tested release/0.6 after a merge. A PR is tested as head-merged-into-base
at event time, and an --admin merge can land on top of a fix that merged
after that run, so the 0.6.x branch could reach a tag with a combination
no CI run had built. Pushes to release/** now get the same Tests and Lint
run as master pushes. seed-cache stays master-only, and push runs are
still never cancelled.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 85b704e)
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