This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch ozone-2.2
in repository https://gitbox.apache.org/repos/asf/ozone.git

commit 6ed652671ec86004af6fe827c12ef90a5d5bb670
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Thu Jun 11 19:21:20 2026 +0200

    HDDS-15527. Cancel superseded PR runs (#10464)
    
    (cherry picked from commit c8cc65b19a3bfde19491a42eb5290fc1658ea8b2)
---
 .github/workflows/pull-request.yml | 4 ++++
 .github/workflows/zizmor.yml       | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/.github/workflows/pull-request.yml 
b/.github/workflows/pull-request.yml
index 7a537c0d526..a5b8a1caa12 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -25,6 +25,10 @@ on:
 
 permissions: { }
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   title:
     runs-on: ubuntu-slim
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index bda248ee73c..aa4f5ec4fb9 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -25,6 +25,10 @@ on:
 
 permissions: { }
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
case(github.repository == 'apache/ozone', github.sha, github.ref_name) }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' || 
github.repository != 'apache/ozone' }}
+
 jobs:
   zizmor:
     runs-on: ubuntu-latest


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to