Repository navigation
ci(actions): scoped concurrency + dependabot batching - #19
Merged
Merged
Conversation
Scope workflow concurrency groups to github.head_ref || github.run_id so superseded PR runs are cancelled while push runs on main (unique run_id) are never cancelled, and lower the Dependabot open-PR cap from 10 to 5. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EPDbXgonTuFwFwdTtHaCmw
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_a08653ea-d18b-4bfc-9a5e-717bc6b3f51c) |
There was a problem hiding this comment.
Risk: low. Not approving because Cursor Bugbot completed as skipped (usage limit reached) and did not produce a clean automated review. Human review is still needed before merge; no reviewers assigned because the sole maintainer is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
kyle-sexton
added a commit
that referenced
this pull request
Jul 13, 2026
## Problem The concurrency groups added in #19 key on `github.head_ref`, which is the bare branch name — not unique across fork PRs. Two forks opening PRs from same-named branches (e.g. both named `patch-1`) resolve to the same concurrency group and cancel each other's in-flight runs. ## Fix Re-key the `ci` and `pr-title` groups to `${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}`. The PR number is unique per PR; `run_id` is the fallback for non-PR events (pushes to `main`). Checked for the caller/called same-group deadlock class (melodic-software/standards#98): `pr-title.yml` calls the reusable `semantic-pr.yml`, which defines no job-level concurrency, and `ci.yml` uses composite actions only — so a plain re-key is safe in both. Part of melodic-software/github-iac#82 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EPDbXgonTuFwFwdTtHaCmw <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Workflow-only concurrency key change with no application or security logic; low risk aside from slightly different cancel behavior per PR. > > **Overview** > **Fixes fork PRs cancelling each other's CI** by re-keying workflow concurrency groups away from `github.head_ref` (bare branch names like `patch-1` collide across forks) to **`github.event.pull_request.number`**, with **`github.run_id`** still used for non-PR runs (e.g. pushes to `main`). > > Applies the same group expression and inline rationale in **`ci`** and **`pr-title`**; behavior is still **cancel-in-progress** per group, but each PR now gets an isolated cancellation scope. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 03fc8c7. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Claude Fable 5 <[email protected]>
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.


What
concurrency.groupinci.ymlandpr-title.ymlto${{ github.workflow }}-${{ github.head_ref || github.run_id }}(wasgithub.ref).open-pull-requests-limitfrom 10 to 5.Why
github.head_refis only set for pull requests, so superseded PR runs are cancelled while pushes tomainfall back to a uniquerun_idgroup and are never cancelled mid-run — thegithub.refgrouping could cancel in-progress default-branch runs. The lower Dependabot cap bounds concurrent update-PR volume; batching (weekly schedule, a singlegithub-actionsgroup, 7-day cooldown) was already in place.Not applicable here: no
merge_grouptriggers, no matrix strategies, no setup-node/dotnet/python steps, andlink-check.ymlruns only on schedule/dispatch so it needs no concurrency control.Part of melodic-software/github-iac#82
🤖 Generated with Claude Code
https://claude.ai/code/session_01EPDbXgonTuFwFwdTtHaCmw
Note
Low Risk
GitHub Actions and Dependabot config only; no application code, auth, or data paths.
Overview
Workflow concurrency in
ci.ymlandpr-title.ymlnow keys the cancel group on${{ github.workflow }}-${{ github.head_ref || github.run_id }}instead ofgithub.ref. PR runs still cancel superseded work per branch;mainpushes use a per-runrun_idgroup so in-progress default-branch jobs are not cancelled by another push on the same ref.Dependabot lowers
open-pull-requests-limitforgithub-actionsupdates from 10 to 5, keeping the existing weekly schedule, grouped bumps, and cooldown.Reviewed by Cursor Bugbot for commit 61cc642. Bugbot is set up for automated code reviews on this repo. Configure here.