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-thirdparty.git


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

commit 7607cb78fd983ac227573aab711b8f61f19cb63b
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon Mar 23 08:56:51 2026 +0100

    RATIS-2443. Sync fork should not trigger CI (#79)
---
 .github/workflows/ci.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index ed74e78..4185f36 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -12,13 +12,23 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+
 name: ci
+
 on:
   - push
   - pull_request
+
+concurrency:
+  group: ci-${{ github.event.pull_request.number || case(github.repository == 
'apache/ratis-thirdparty', github.sha, github.ref_name) }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' || 
github.repository != 'apache/ratis-thirdparty' }}
+
 jobs:
   build:
     runs-on: ubuntu-24.04
+    if: github.event_name == 'pull_request'
+      || github.repository == 'apache/ratis-thirdparty'
+      || github.ref_name != 'master'
     steps:
       - name: Checkout project
         uses: actions/checkout@v6

Reply via email to