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

martinzink pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 48eedde6d MINIFICPP-2878 PRs from apache should not double run CI 
(#2248)
48eedde6d is described below

commit 48eedde6d3a0589161ae60b2d4fa69461c702eff
Author: Martin Zink <[email protected]>
AuthorDate: Wed Aug 19 14:55:26 2026 +0200

    MINIFICPP-2878 PRs from apache should not double run CI (#2248)
---
 .github/workflows/ci.yml | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fc2399c06..a812f76a3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,7 +6,11 @@ on:
   schedule:
     - cron: '0 1 * * 1'
 concurrency:
-  group: ${{ github.workflow }}-${{ 
github.event.pull_request.head.repo.full_name || github.repository }}-${{ 
github.head_ref || github.ref_name }}
+  group: >-
+    ${{ github.workflow }}-
+    ${{ github.event.pull_request.head.repo.full_name || github.repository }}-
+    ${{ github.head_ref || github.ref_name }}-
+    ${{ github.repository == 'apache/nifi-minifi-cpp' && github.event_name == 
'push' && github.ref != 'refs/heads/main' && github.run_id || '' }}
   cancel-in-progress: ${{ github.event_name != 'workflow_dispatch' }}
 env:
   CCACHE_DIR: ${{ GITHUB.WORKSPACE }}/.ccache
@@ -19,6 +23,10 @@ env:
 jobs:
   macos_xcode:
     name: "macOS 26 aarch64"
+    if: >-
+      github.event_name != 'push' || 
+      github.repository != 'apache/nifi-minifi-cpp' || 
+      github.ref == 'refs/heads/main'
     runs-on: macos-26
     timeout-minutes: 240
     env:
@@ -130,6 +138,10 @@ jobs:
           path: build/bin
   windows_VS2022:
     name: "Windows Server 2025 x86_64"
+    if: >-
+      github.event_name != 'push' || 
+      github.repository != 'apache/nifi-minifi-cpp' || 
+      github.ref == 'refs/heads/main'
     runs-on: windows-2025
     timeout-minutes: 300
     env:
@@ -249,6 +261,10 @@ jobs:
         run: sccache --show-stats
   ubuntu_22_04_clang_arm:
     name: "Ubuntu 22.04 clang aarch64"
+    if: >-
+      github.event_name != 'push' || 
+      github.repository != 'apache/nifi-minifi-cpp' || 
+      github.ref == 'refs/heads/main'
     runs-on: ubuntu-22.04-arm
     timeout-minutes: 240
     env:
@@ -419,6 +435,10 @@ jobs:
           path: build/bin
   rocky:
     name: "Rocky (docker) x86_64"
+    if: >-
+      github.event_name != 'push' || 
+      github.repository != 'apache/nifi-minifi-cpp' || 
+      github.ref == 'refs/heads/main'
     runs-on: ubuntu-24.04
     timeout-minutes: 180
     steps:
@@ -489,6 +509,10 @@ jobs:
           path: /tmp/bin
   docker_build:
     name: "Docker build for integration tests (x86_64)"
+    if: >-
+      github.event_name != 'push' || 
+      github.repository != 'apache/nifi-minifi-cpp' || 
+      github.ref == 'refs/heads/main'
     runs-on: ubuntu-22.04
     timeout-minutes: 180
     steps:
@@ -637,6 +661,10 @@ jobs:
           path: minifi_rust/minifi_rs_behave/output
   linters:
     name: "C++ lint + Shellcheck + Flake8 + Cargo fmt check + Clippy check"
+    if: >-
+      github.event_name != 'push' || 
+      github.repository != 'apache/nifi-minifi-cpp' || 
+      github.ref == 'refs/heads/main'
     runs-on: ubuntu-22.04-arm
     timeout-minutes: 15
     steps:

Reply via email to