fix(ci): drop the dead tag branch from the Lint concurrency group
lint.yml has no tag trigger, so the ref_type == 'tag' branch of its concurrency group could never run. Keep it in build.yml, which has one, and correct the comment and changelog fragment accordingly. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
3b19cfd65e
commit
39fd0c385a
2 files changed
+5
-5
No files matched your search
@@ -19,11 +19,11 @@ on: # yamllint disable-line rule:truthy
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# A newer push to the same pull request makes the running run obsolete. A push to main or a
|
||||
# tag is never cancelled: each merge commit keeps its own result, and a tag run has its own
|
||||
# group, so it never shares one with the main run of the same commit.
|
||||
# A newer push to the same pull request makes the running run obsolete. A push to main is
|
||||
# never cancelled: each merge commit keeps its own result, so its group is the commit SHA.
|
||||
# (This workflow has no tag trigger, so no tag branch in the group.)
|
||||
concurrency:
|
||||
group: lint-${{ github.event_name == 'pull_request' && github.ref || (github.ref_type == 'tag' && github.ref || github.sha) }}
|
||||
group: lint-${{ github.event_name == 'pull_request' && github.ref || github.sha }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trivial:
|
||||
- >-
|
||||
A later push to main no longer cancels the Lint and Build runs of an earlier one; pull request
|
||||
runs still cancel their predecessors, and a tag run has its own group.
|
||||
runs still cancel their predecessors, and in the Build workflow a tag run has its own group.
|
||||
Reference in new issue
Block a user