Skip to content

[9.0] CI: run tests.yml for PRs and pushes to 9.0 (#5977) - #5991

Merged
jeremydmiller merged 4 commits into
9.0from
ci/5977-run-tests-on-9.0-9.0
Nov 16, 2026
Merged

jeremydmiller merged 4 commits into
9.0from
ci/5977-run-tests-on-9.0-9.0

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Backport of #5990

Adds '9.0' to the push and pull_request filters of 9.0's own tests.yml and docs-prs.yml. For a pull_request event GitHub reads the workflow from the PR's merge ref, so this is the copy that decides whether a 9.0 PR gets checks. This PR is its own proof. The change is on its merge ref, so tests and Documentation PRs should start here without a manual gh workflow run. None was dispatched for this PR.

Workflow by workflow (9.0's copies)

workflow decision
tests.yml Add '9.0' to push + pull_request. cancel-in-progress spares 9.0 push runs too. The duration-ledger download prefers the newest successful 9.0 run and falls back to master's until 9.0 has one, because 9.0's suites and TFMs (net9.0 + net10.0) are not master's. The ledger only balances lanes, and with none the supervisor balances by test count.
docs-prs.yml Add '9.0'. It lints, spell-checks and builds the docs, and doesn't deploy.
docs.yml No change. Dispatch-only, it publishes master's docs to Netlify, and its deploy is gated on refs/heads/master.
on-manual-do-nuget-publish.yml No change. It publishes, and it's manual.

The 9.0 matrix (net9.0 / PG15 / Newtonsoft and net10.0 / PGlatest / STJ legs) is this branch's own and is left untouched. Nothing was copied from master.

Not in this PR

"Require branches to be up to date before merging" on 9.0 is a separate branch-protection decision for Jeremy. With that rule on, a PR like #5956 couldn't merge on checks that ran against a stale 9.0. Nothing here touches branch protection or repository settings.

🤖 Generated with Claude Code

jeremydmiller and others added 4 commits November 15, 2026 18:08
Both workflows filtered push and pull_request to master only, so no PR
against the 9.0 release branch got checks. For a pull_request GitHub
reads the workflow from the PR's merge ref, so each branch's own copy
carries the filter. The branch name is quoted because a bare 9.0 is a
YAML number.

A push run on 9.0 is the record for that commit, the same as on master,
so it is no longer cancelled by the next push. The duration ledger is
taken from the newest successful 9.0 run, falling back to master's,
rather than always from master's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeremydmiller
jeremydmiller merged commit fdc426b into 9.0 Nov 16, 2026
32 checks passed
@jeremydmiller
jeremydmiller deleted the ci/5977-run-tests-on-9.0-9.0 branch November 16, 2026 11:53
@jeremydmiller jeremydmiller mentioned this pull request Nov 16, 2026
This was referenced Nov 16, 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