Skip to content

Cancel checks for superseded PR commits - #3854

Merged
anth-volk merged 2 commits into
masterfrom
ci/cancel-superseded-pr-runs
Sep 24, 2026
Merged

anth-volk merged 2 commits into
masterfrom
ci/cancel-superseded-pr-runs

Conversation

@anth-volk

@anth-volk anth-volk commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #3853

Summary

  • group API v1 pull request workflow runs by workflow and pull request number
  • cancel the in-progress validation run when the same pull request receives another commit
  • leave deployment workflow concurrency unchanged
  • add the required changelog fragment

Verification

  • parsed .github/workflows/pr.yml successfully as YAML
  • git diff --check passed
  • confirmed that pushing commit 8346ff02 cancelled the queued workflow for superseded commit 1c1b5079

@codecov

codecov Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.48%. Comparing base (61883c4) to head (4357518).

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3854       +/-   ##
===========================================
+ Coverage   46.37%   87.48%   +41.10%     
===========================================
  Files         178      193       +15     
  Lines       10421    11538     +1117     
  Branches     1759     2008      +249     
===========================================
+ Hits         4833    10094     +5261     
+ Misses       5199      882     -4317     
- Partials      389      562      +173     

☔ 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.

@anth-volk
anth-volk force-pushed the ci/cancel-superseded-pr-runs branch from 8346ff0 to 4357518 Compare September 24, 2026 19:36
@anth-volk
anth-volk marked this pull request as ready for review September 24, 2026 20:23
@anth-volk
anth-volk merged commit 0c5a995 into master Sep 24, 2026
14 checks passed
@anth-volk
anth-volk deleted the ci/cancel-superseded-pr-runs branch September 24, 2026 20:23

This branch was successfully deployed

1 active deployment
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.

Cancel validation runs for superseded pull request commits

1 participant