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

peterxcli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 357aad73a1f HDDS-12999. Sync fork should not trigger CI (#9756)
357aad73a1f is described below

commit 357aad73a1f91ae131c1a772fe293f756f4edcc3
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Feb 12 22:38:03 2026 +0100

    HDDS-12999. Sync fork should not trigger CI (#9756)
---
 .github/workflows/post-commit.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index 91d9e1fcd9f..09c566e3c0f 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -18,10 +18,12 @@ on:
     types: [opened, ready_for_review, synchronize]
   push:
 concurrency:
-  group: ci-${{ github.event.pull_request.number || github.sha }}
-  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+  group: ci-${{ 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:
   CI:
-    if: github.event_name == 'pull_request' || !startsWith(github.ref_name, 
'dependabot')
+    if: github.event_name == 'pull_request'
+      || (github.repository == 'apache/ozone' && !startsWith(github.ref_name, 
'dependabot'))
+      || (github.repository != 'apache/ozone' && github.ref_name != 'master')
     uses: ./.github/workflows/ci.yml
     secrets: inherit


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

Reply via email to