From 3764e4690dc29d454389c70b3414c9518e6a8eaf Mon Sep 17 00:00:00 2001 From: Niels Pardon Date: Wed, 1 Jul 2026 11:55:33 +0200 Subject: [PATCH] build: stop running PR title check on synchronize The PR title check only validates the PR title and description, neither of which changes on a push (synchronize). Including synchronize caused a race with Dependabot rebases, which force-push and edit the PR body at the same time, firing synchronize and edited together. Both events land in the same concurrency group, so one run is cancelled, leaving a cancelled check-run on the head commit that fails the status rollup even though a successful run exists. Trigger only on opened, edited, and reopened -- the events that actually change the title or description. --- .github/workflows/pr_title.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index 76ed391..0386526 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -1,8 +1,14 @@ name: PR Title Check on: + # Only the PR title and description are validated, and neither changes on a + # push (synchronize). Including synchronize caused a race: a Dependabot rebase + # force-pushes and edits the PR body at the same time, firing synchronize and + # edited together. Both land in the same concurrency group, so one run is + # cancelled, leaving a cancelled check-run on the head commit that fails the + # status rollup. pull_request_target: - types: [opened, edited, synchronize, reopened] + types: [opened, edited, reopened] # Most recent PR change supersedes previous changes. concurrency: