ci: add concurrency groups to cancel stale runs - #21
Merged
Merged
Conversation
Adds cancel-in-progress concurrency to dependency-audit and generated-file-gate. ntv is a retired product so this is intentionally the minimum useful change: no consolidation attempted (generated-file-gate is the only trivial workflow, nothing else to fold it into) and no path filters added. dependabot-auto-merge is left alone (pull_request_target trap — ref resolves to base branch). Required check name 'pnpm audit' (job name in dependency-audit.yml) is unchanged.
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.
Summary
concurrency(cancel-in-progress) todependency-audit.ymlandgenerated-file-gate.ymlso a follow-up push cancels an in-flight run instead of queuing for a second runner.dependabot-auto-merge.ymlleft untouched (pull_request_target—github.refresolves to the base branch, so a ref-keyed group would cross-cancel unrelated PRs).generated-file-gateis the only workflow under the trivial-gate bar in this repo, and there's nothing else to fold it into.paths:filters added — repo is small enough that a missed run isn't worth risking for the marginal savings.Safety
pnpm audit(job name independency-audit.yml) is unchanged.continue-on-error, no loosened assertions.Test plan
actionlinton both touched files: exit 0, matches baseline (origin/mainalso exit 0)