Skip to content

fix(ci): stop the cancelled run of the title check - #31

Merged
dan-petty merged 2 commits into
mainfrom
fix/198-title-run-cancel
Nov 30, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/198-title-run-cancel

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

pr-title.yml sets no concurrency group. The group cancelled the run of an earlier event when a second event came for the same pull request. The cancelled check run stayed on the head commit, and Renovate then did not merge the pull request. Now each event gets a complete run, and each run reads the current title from the API. README.md tells that only release.yml sets the concurrency of its job. The check keeps the name PR title / Semantic PR title, so no ruleset changes. A caller gets the fix with the release that holds it.

Closes #30
Change: openspec/changes/archive/2026-11-30-30-title-check-runs/

The job semantic-title cancelled the run of an earlier event with its
concurrency group. The cancelled check run stayed on the head commit,
and Renovate then did not merge the pull request. The workflow now sets
no concurrency group, so each event gets a complete run.

Issue: #30
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ci GitHub Actions workflows and pre-commit hooks labels Nov 30, 2026
@dan-petty dan-petty changed the title fix(ci): stop the cancelled run of the title check fix(ci): stop the cancelled run of the title check (probe) Nov 30, 2026
@dan-petty dan-petty changed the title fix(ci): stop the cancelled run of the title check (probe) fix(ci): stop the cancelled run of the title check Nov 30, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Live proof on head f09a130: passed.

  1. The title of this pull request changed two times, 5 seconds apart (2026-11-30 16:45:33 and 16:45:38 UTC). The first change added (probe), and the second change removed it.
  2. Each event started one run of the title check: runs 46465570913 and 46465586140. Both used pr-title.yml of the merge commit of this pull request (d77ede3), which sets no concurrency group.
  3. The two check runs overlapped: 16:45:41 to 16:45:52, and 16:45:45 to 16:45:57.
  4. GET /repos/dan-petty/github-workflows/commits/f09a130/check-runs?filter=all gives three check runs PR title / Semantic PR title (the open event and the two changes). Each one is success. No check run of the head commit is cancelled.

For comparison, main has the group: the head commit 6737add of #19 holds one cancelled and one success title check run.

Local checks on this head: each command below exited 0.

  • actionlint, tests/test-pr-title-scopes.sh, tests/test-ci-check-names.sh
  • zizmor --offline .github/ and zizmor --offline .github/workflows/
  • yamllint --strict ., shellcheck on each tracked *.sh file
  • tests/test-private-data-scan.sh, scripts/private-data-scan.sh dir .
  • tests/test-repository-template.sh (175 of 175 cases passed)
  • openspec validate --all --strict

@dan-petty
dan-petty marked this pull request as ready for review November 30, 2026 17:02
@dan-petty
dan-petty merged commit 8c6efba into main Nov 30, 2026
16 checks passed
@dan-petty
dan-petty deleted the fix/198-title-run-cancel branch November 30, 2026 17:02
dan-petty-release Bot added a commit that referenced this pull request Nov 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.1](v0.3.0...v0.3.1)
(2026-11-30)


### Bug Fixes

* **ci:** stop the cancelled run of the title check
([#31](#31))
([8c6efba](8c6efba)),
closes [#30](#30)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows and pre-commit hooks type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): a cancelled PR title run stops the Renovate automerge

1 participant