This is an automated email from the ASF dual-hosted git repository.
szaszm 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 c7ad6efe0 MINIFICPP-2811 Limit github CI concurrency
c7ad6efe0 is described below
commit c7ad6efe096c8560dceb49ef314e596dc0200153
Author: Martin Zink <[email protected]>
AuthorDate: Thu May 7 16:59:07 2026 +0200
MINIFICPP-2811 Limit github CI concurrency
https://docs.github.com/en/enterprise-cloud@latest/actions/how-tos/write-workflows/choose-when-workflows-run/control-workflow-concurrency
This will cancel ongoing CI runs (the main one at least) on the same branch
and only pursue the last one, (except if it was dispatched)
This should also fix the double starting of CI-s when using apache branch
(due to both PR and push)
Closes #2172
Signed-off-by: Marton Szasz <[email protected]>
---
.github/workflows/ci.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 71a4abce3..f1d97a507 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,6 +5,9 @@ on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 1'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
+ cancel-in-progress: ${{ github.event_name != 'workflow_dispatch' }}
env:
DOCKER_CMAKE_FLAGS: -DDOCKER_VERIFY_THREAD=3 -DUSE_SHARED_LIBS=
-DSTRICT_GSL_CHECKS=AUDIT -DCI_BUILD=ON -DENABLE_AWS=ON -DENABLE_KAFKA=ON
-DENABLE_MQTT=ON -DENABLE_AZURE=ON -DENABLE_SQL=ON \
-DENABLE_SPLUNK=ON -DENABLE_GCP=ON -DENABLE_OPC=ON
-DENABLE_PYTHON_SCRIPTING=ON -DENABLE_LUA_SCRIPTING=ON -DENABLE_KUBERNETES=ON
-DENABLE_TEST_PROCESSORS=ON -DENABLE_PROMETHEUS=ON \