Skip to content

ci: a pull request edited right after a push shows a failed check, the cancelled run of the Conventional Commits check #2066

Closed

Description

@lagergren

A pull request whose description is edited right after a push gets a failed check on its last commit, although every check passed.

The Conventional Commits PR Check (conventionalCheck.yml) runs on opened, edited and synchronize, and since #1973 a newer run cancels the one in progress (cancel-in-progress: true). edited fires for any edit of the pull request, also of its description. So a push followed within a few seconds by an edit of the description starts two runs of main on the same commit, and the second cancels the first. The cancelled run stays on the commit, and GitHub counts it as a failure: the commit's combined status (statusCheckRollup) is FAILURE, the pull request shows a red cross, and its merge state is UNSTABLE, while the other run of the same check passed.

Seen on #2049 and #2053 (head commits 9c343013 and 6bfa7699: one run of main cancelled, one successful), and now on #2052 (e6580ed7).

A fix, for this check only, which takes a few seconds:

  • run it on edited only when the title changed: if: github.event.action != 'edited' || github.event.changes.title != null on the job;
  • and drop its concurrency group, so that no run is cancelled and left on a commit. cancel-in-progress: false is not enough: a run that waits in the group is still cancelled when a newer one joins it.

The cancellation of #1973 stays for the long workflows, where it saves runners.

Activity

  1. added a commit that references this issue on Nov 22, 2026
    5964c80
  2. added this to the 0.30.2 milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions