Skip to content

ci: run the pull request title check without cancelling it, and skip it for an edit of the description - #2067

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:ci/run-the-pull-request-title-check-without-cancelling-it
Nov 21, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:ci/run-the-pull-request-title-check-without-cancelling-it

Conversation

@lagergren

@lagergren lagergren commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #2066.

The Conventional Commits PR Check ran for every edit of a pull request, its description included, and since #1973 a newer run cancelled the one in progress. A push followed within seconds by an edit of the description left a cancelled run of main on the commit, which GitHub counts as a failed check: the pull request showed a red cross and the merge state UNSTABLE, while the other run of the same check passed (#2049, #2053, #2052).

  • The workflow has no concurrency group any more, so no run is cancelled. cancel-in-progress: false would not be enough: a run that waits in the group is still cancelled when a newer one joins it. The check takes a few seconds.
  • The job is skipped for an edit that doesn't change the title (github.event.changes.title). A skipped run doesn't count as a failure.

Pushes and title edits run the check as before. The other workflows keep the cancellation of #1973, where it saves runners.

Test: actionlint passes. This pull request runs the changed workflow: the check ran and passed when it was opened, and this edit of its description, which changes no title, skips it.

…it for an edit of the description

The check ran for every edit of a pull request, and since redhat-developer#1973 a newer run cancelled the one in progress: a push
followed by an edit of the description left a cancelled run on the commit, which GitHub counts as a failed check. The
check now has no concurrency group, so no run is cancelled, and it is skipped for an edit that doesn't change the
title.

Fixes redhat-developer#2066
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated automated pull request checks to run for eligible pull request activity. Edits that do not change the title are excluded, and checks are no longer grouped or cancelled based on overlapping runs. These changes affect the project’s validation workflow and do not alter product features or behavior.

The Conventional Commits workflow no longer cancels an earlier pull-request run when a newer run starts. It skips the main job for edited events that do not change the title.

Changes: Conventional check workflow

Layer / File(s) Summary
Run and cancellation conditions
.github/workflows/conventionalCheck.yml
The workflow removes pull-request concurrency cancellation. The main job skips edited events without a title change and runs for other actions.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix · Severity of issue fixed: Medium

Suggested reviewers: fbricon

Merge Risk: Minimal · up to 3f732

This change stops the title check from being cancelled and skips it for description-only edits. The risk is low: the only open questions concern how GitHub gates merges on same-commit check results, and none is shown to be a problem here.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the PR title check is no longer cancelled, and it is skipped for description-only edits. The change is in the conventional check workflow, which matches the title's c…
Description check Passed The description states the problem (cancelled runs on description edits), the fix (no concurrency group, skip for edits without title changes), and the test performed. It matches the workflow change a…
Linked Issues check Passed Directly linked issue #2066 has two coding requirements for .github/workflows/conventionalCheck.yml. (1) Run on edited only when the title changed. The reviewed head sets `if: github.event.action …
Out of Scope Changes check Passed The change summary reports one changed file, .github/workflows/conventionalCheck.yml, with +4/-4 lines. Every changed line in the reviewed head serves #2066. The change removes the concurrency group…
Full details: Title check

Explanation

The title states the main change: the PR title check is no longer cancelled, and it is skipped for description-only edits. The change is in the conventional check workflow, which matches the title's ci: scope. The title is long (102 characters) but specific and accurate.

Full details: Description check

Explanation

The description states the problem (cancelled runs on description edits), the fix (no concurrency group, skip for edits without title changes), and the test performed. It matches the workflow change and linked issue #2066.

Full details: Linked Issues check

Explanation

Directly linked issue #2066 has two coding requirements for .github/workflows/conventionalCheck.yml. (1) Run on edited only when the title changed. The reviewed head sets if: github.event.action != 'edited' || github.event.changes.title != null on job main, which matches the condition the issue specifies. (2) Remove the concurrency group so no run is cancelled. The reviewed head file has no concurrency key, and its comment cites #2066. The pull_request trigger still lists opened, edited and synchronize, so pushes and title edits still run the check. The issue asks that cancellation remain for other long-running workflows. This PR does not touch those files according to the change summary. The repository diff could not be read, so the base content was not compared directly. The head file content and the change summary establish the result.

Full details: Out of Scope Changes check

Explanation

The change summary reports one changed file, .github/workflows/conventionalCheck.yml, with +4/-4 lines. Every changed line in the reviewed head serves #2066. The change removes the concurrency group and adds the title-change condition on the job. It adds a comment that explains the change. No unrelated workflow, code, or configuration change is reported. The repository diff was unavailable, so the file list rests on the change summary and the head file content.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 19618e33-ea6d-4c0a-80bf-bdd7cb68081c
Commits

Reviewing files that changed from the base of the PR and between bba340e and 3f73278.

Files selected for processing: 1

  • .github/workflows/conventionalCheck.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@codecov

codecov Bot commented Nov 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.91%. Comparing base (bba340e) to head (3f73278).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #2067     +/-   ##
=========================================
  Coverage   49.91%   49.91%             
=========================================
  Files         813      813             
  Lines       33396    33396             
  Branches     6872     5207   -1665     
=========================================
  Hits        16668    16668             
  Misses      14138    14138             
  Partials     2590     2590             

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren lagergren added this to the 0.30.2 milestone Nov 21, 2026
@lagergren

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lagergren
lagergren merged commit 5964c80 into redhat-developer:main Nov 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant