Repository navigation
Run the test matrix once per PR commit - #444
Merged
Merged
Conversation
The workflow ran on push to any branch and on pull_request to master, so each commit on a same-repo PR branch ran the 6-version matrix twice. Push now triggers only on master. A concurrency group keyed on the PR number cancels the older run when a PR gets a new push. Pushes to master fall back to the run id, so each master run has its own group and is never cancelled, even while pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
pushtrigger now runs only onmaster. Before, each commit on a PR branch in this repo started the 6-version matrix twice, once forpushand once forpull_request. Those extra jobs filled the runners, and the Docs deploys onmasterwaited more than 20 minutes for one.concurrencygroup is keyed on the PR number. A new push to a PR cancels that PR's older run.masterget a group of their own (the run id), so amasterrun is never cancelled, even while it waits for a runner.master, gets no CI from this workflow now.🤖 Generated with Claude Code