Skip to content

fix: Rerun workflow docs - #196

Draft
BakerNet wants to merge 2 commits into
mainfrom
fix/issue-195
Draft

fix: Rerun workflow docs#196
BakerNet wants to merge 2 commits into
mainfrom
fix/issue-195

Conversation

@BakerNet

Copy link
Copy Markdown
Collaborator

Related Issue(s)

BakerNet and others added 2 commits August 24, 2026 10:19
Events like ready_for_review, labeled, and unlabeled fire without
changing the head SHA, so a single commit can accumulate multiple
'Run Codeowners Plus' check runs. With cancel-in-progress: true,
rerun-checks v3.1.0 (which now re-runs all matching check runs)
triggers duplicates that cancel each other, and the cancelled run
reads as a codeowners-plus failure — blocking CI when the check is
required. Queue runs instead of cancelling them.

Fixes #195

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Comment why cancel-in-progress stays false, note that the rerun
workflow's check-names must match the codeowners job name, and fix
the rerun-checks digest comment to its actual tag (v3.1.0).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

ⓘ Your Qodo trial ends soon. Ask your workspace admin to set up billing to keep reviews running after the trial. Manage billing

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the README.md file. It modifies a GitHub Actions workflow example to set cancel-in-progress to false under concurrency to queue duplicate runs, and adds a note clarifying that the rerun workflow's check-names must exactly match the job name in the codeowners workflow to avoid silent failures. There are no review comments, so I have no feedback to provide.

@github-actions
github-actions Bot requested a review from zbedforrest August 24, 2026 18:10
@github-actions

Copy link
Copy Markdown

Codeowners approval required for this PR:

@greptile-apps

greptile-apps Bot commented Aug 24, 2026

Copy link
Copy Markdown

Confidence Score: 4/5

The PR should not merge until the concurrency configuration handles bursts without cancelling pending required-check runs.

The changed setting prevents cancellation of the active run but still allows an older pending run to be cancelled when several pull-request events arrive for the same ref, preserving the merge-blocking failure the PR intends to remove.

Files Needing Attention: .github/workflows/codeowners.yml and the matching README example

Important Files Changed

Filename Overview
.github/workflows/codeowners.yml Disables active-run cancellation, but GitHub’s single pending concurrency slot leaves cancellation-related failed checks reachable during bursts of events.
.github/workflows/rerun_codeowners.yml Updates only the version annotation for an unchanged pinned action revision.
README.md Accurately documents check-name coupling but overstates cancel-in-progress false as fully queueing duplicate runs.

Reviews (1): Last reviewed commit: "docs: clarify concurrency choice and rer..." | Re-trigger Greptile

group: codeowners-${{ github.ref }}
cancel-in-progress: true
# queue duplicate runs - cancelled runs read as a failed check (#195)
cancel-in-progress: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Pending runs still get cancelled

If three or more pull-request events arrive while the first run is executing, GitHub retains only one pending run and cancels the older pending run, causing the cancellation-related failed required check that this change intends to prevent.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@BakerNet
BakerNet marked this pull request as draft August 25, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant