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

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


The following commit(s) were added to refs/heads/master by this push:
     new 432eb32b5 RATIS-2443. Sync fork should not trigger CI (#1384)
432eb32b5 is described below

commit 432eb32b51f9e7e9916964065b794b57a2ea8b5f
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sun Mar 22 17:49:19 2026 +0100

    RATIS-2443. Sync fork should not trigger CI (#1384)
---
 .github/workflows/post-commit.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/post-commit.yaml 
b/.github/workflows/post-commit.yaml
index 583eb7bcf..1d1ba06fd 100644
--- a/.github/workflows/post-commit.yaml
+++ b/.github/workflows/post-commit.yaml
@@ -24,10 +24,13 @@ on:
   pull_request:
 
 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/ratis', github.sha, github.ref_name) }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' || 
github.repository != 'apache/ratis' }}
 
 jobs:
   CI:
+    if: github.event_name == 'pull_request'
+      || github.repository == 'apache/ratis'
+      || github.ref_name != 'master'
     uses: ./.github/workflows/ci.yaml
     secrets: inherit

Reply via email to