Skip to content

ci(workflows): cancel in-progress runs on PR updates - #45

Merged
Hug0-Drelon merged 1 commit into
masterfrom
ci/cancel-in-progress-pr-runs
Sep 9, 2026
Merged

ci(workflows): cancel in-progress runs on PR updates#45
Hug0-Drelon merged 1 commit into
masterfrom
ci/cancel-in-progress-pr-runs

Conversation

@Hug0-Drelon

Copy link
Copy Markdown
Member

What?

Add workflow concurrency to cancel superseded CI runs on PR updates.

Why?

Reduce wasted GitHub Actions minutes when branches are pushed repeatedly (especially long-lived PRs).

How?

  • Standard block: group by PR number or commit SHA, cancel-in-progress: true (master commits stay isolated per SHA).

Test plan

  • Push to an open PR twice quickly: older runs cancel, latest completes.
  • Push to master: all commits run to completion (no cancellation across SHAs).

@Hug0-Drelon Hug0-Drelon self-assigned this Sep 9, 2026
@Hug0-Drelon
Hug0-Drelon merged commit c953ea5 into master Sep 9, 2026
3 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.

1 participant