lint.yml and build.yml concurrency: the group is <name>-<ref> for pull_request and <name>-<sha> otherwise; cancel-in-progress only for pull_request. A later merge to main no longer cancels an earlier main run; PR runs still cancel their predecessors.
build.yml has a v* tag trigger, so its group keeps a tag branch (<name>-<tag ref>): a tag run has its own group and never shares one with the main run of the same commit.
lint.yml has no tag trigger, so the dead ref_type == 'tag' branch is removed from its group (lint-<ref> for PRs, lint-<sha> otherwise) and its comment says so.
Comments and the trivial changelog fragment are updated to match.
Verified
actionlint (with .gitea/actionlint.yaml) clean on both files via the pre-commit hook; all commit hooks passed.
CI at this head: Lint and Build (including ansible-test sanity) green.
Not verified
Gitea's actual handling of the expression-valued cancel-in-progress and of the group across two consecutive main pushes (needs two real pushes to main). The tag group of build.yml was not exercised by a real tag.
Merge order
lint.yml is also edited by #16 (different hunks, should merge cleanly). Independent otherwise.
## What changed (head 39fd0c3)
lint.yml and build.yml concurrency: the group is `<name>-<ref>` for pull_request and `<name>-<sha>` otherwise; `cancel-in-progress` only for pull_request. A later merge to main no longer cancels an earlier main run; PR runs still cancel their predecessors.
- build.yml has a `v*` tag trigger, so its group keeps a tag branch (`<name>-<tag ref>`): a tag run has its own group and never shares one with the main run of the same commit.
- lint.yml has no tag trigger, so the dead `ref_type == 'tag'` branch is removed from its group (`lint-<ref>` for PRs, `lint-<sha>` otherwise) and its comment says so.
Comments and the trivial changelog fragment are updated to match.
## Verified
- actionlint (with .gitea/actionlint.yaml) clean on both files via the pre-commit hook; all commit hooks passed.
- CI at this head: Lint and Build (including `ansible-test sanity`) green.
## Not verified
Gitea's actual handling of the expression-valued `cancel-in-progress` and of the group across two consecutive main pushes (needs two real pushes to main). The tag group of build.yml was not exercised by a real tag.
## Merge order
lint.yml is also edited by #16 (different hunks, should merge cleanly). Independent otherwise.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The concurrency group was the ref, so a second merge to main cancelled the run of
the first. Key the group on the sha outside pull requests and cancel only on
pull_request.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
A tag run and the main run of the same commit shared the group keyed by the commit
SHA, so one could wait on the other. Tag runs are now keyed by their ref.
Cancellation stays limited to pull requests.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed (head
39fd0c3)lint.yml and build.yml concurrency: the group is
<name>-<ref>for pull_request and<name>-<sha>otherwise;cancel-in-progressonly for pull_request. A later merge to main no longer cancels an earlier main run; PR runs still cancel their predecessors.v*tag trigger, so its group keeps a tag branch (<name>-<tag ref>): a tag run has its own group and never shares one with the main run of the same commit.ref_type == 'tag'branch is removed from its group (lint-<ref>for PRs,lint-<sha>otherwise) and its comment says so.Comments and the trivial changelog fragment are updated to match.
Verified
ansible-test sanity) green.Not verified
Gitea's actual handling of the expression-valued
cancel-in-progressand of the group across two consecutive main pushes (needs two real pushes to main). The tag group of build.yml was not exercised by a real tag.Merge order
lint.yml is also edited by #16 (different hunks, should merge cleanly). Independent otherwise.
🤖 Generated with Claude Code