Skip to content

Cancel workflows when pr is force merged/closed#508

Open
yhmo wants to merge 1 commit into
milvus-io:masterfrom
yhmo:ma
Open

Cancel workflows when pr is force merged/closed#508
yhmo wants to merge 1 commit into
milvus-io:masterfrom
yhmo:ma

Conversation

@yhmo
Copy link
Copy Markdown
Collaborator

@yhmo yhmo commented Jun 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings June 5, 2026 08:25
@sre-ci-robot sre-ci-robot requested a review from matrixji June 5, 2026 08:25
@sre-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yhmo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the existing “cleanup PR caches” workflow so that when a pull request is closed it also attempts to cancel still-running GitHub Actions workflow runs associated with that PR, in addition to deleting PR-scoped caches.

Changes:

  • Add a “Cancel PR workflow runs” step to cancel queued/in-progress PR workflow runs when a PR is closed.
  • Rename the cleanup job to reflect broader “actions state” cleanup (runs + caches).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/cleanup-pr-caches.yaml
Comment thread .github/workflows/cleanup-pr-caches.yaml Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.75%. Comparing base (a0592aa) to head (db31754).
⚠️ Report is 107 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #508       +/-   ##
===========================================
+ Coverage   53.47%   77.75%   +24.27%     
===========================================
  Files          52      304      +252     
  Lines        4432    13654     +9222     
  Branches        0     1325     +1325     
===========================================
+ Hits         2370    10616     +8246     
- Misses       2062     2929      +867     
- Partials        0      109      +109     

see 321 files with indirect coverage changes

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

@mergify mergify Bot added the ci-passed label Jun 5, 2026
Signed-off-by: yhmo <yihua.mo@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants