You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2026/06/08 14:04:49 UTC

(systemds) branch main updated: [CI] Configure GitHub workflows to use concurrency cancel-in-progress

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

Baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/main by this push:
     new ae9a59cced [CI] Configure GitHub workflows to use concurrency cancel-in-progress
ae9a59cced is described below

commit ae9a59cced3b3116a6a3bc48356f4ed31f40c7d7
Author: Aurélien Pupier <ap...@ibm.com>
AuthorDate: Mon Jun 8 16:04:42 2026 +0200

    [CI] Configure GitHub workflows to use concurrency cancel-in-progress
    
    
    Based on recommended best practices at Apache:
    https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=GitHub+Actions+Recommended+Practices
    
    This commit change the CI jobs to fail-fast based on subsequent comments.
---
 .github/workflows/build.yml             | 4 ++++
 .github/workflows/documentation.yml     | 4 ++++
 .github/workflows/javaCodestyle.yml     | 4 ++++
 .github/workflows/javaTests.yml         | 4 ++++
 .github/workflows/license.yml           | 4 ++++
 .github/workflows/monitoringUITests.yml | 4 ++++
 .github/workflows/python.yml            | 4 ++++
 .github/workflows/pythonFormatting.yml  | 4 ++++
 8 files changed, 32 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d401263bb7..77d492a2e2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -41,6 +41,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   build:
     name: ${{ matrix.os }} Java ${{ matrix.java }} ${{ matrix.javadist }}
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
index 75b74228f6..78b5ce0458 100644
--- a/.github/workflows/documentation.yml
+++ b/.github/workflows/documentation.yml
@@ -35,6 +35,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   doc1:
     runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/javaCodestyle.yml b/.github/workflows/javaCodestyle.yml
index 50c970023c..2649edcbd0 100644
--- a/.github/workflows/javaCodestyle.yml
+++ b/.github/workflows/javaCodestyle.yml
@@ -41,6 +41,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   java_codestyle:
     name: Java Checkstyle
diff --git a/.github/workflows/javaTests.yml b/.github/workflows/javaTests.yml
index da1ceeca23..0d6ac02fb8 100644
--- a/.github/workflows/javaTests.yml
+++ b/.github/workflows/javaTests.yml
@@ -43,6 +43,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   java_tests:
     runs-on: ubuntu-24.04
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index 4f7b02ee42..d42e073c77 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -41,6 +41,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   build:
     name: ${{ matrix.os }}
diff --git a/.github/workflows/monitoringUITests.yml b/.github/workflows/monitoringUITests.yml
index 9389b39482..2fcfc90651 100644
--- a/.github/workflows/monitoringUITests.yml
+++ b/.github/workflows/monitoringUITests.yml
@@ -43,6 +43,10 @@ on:
   # enable manual workflow trigger
   workflow_dispatch:
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   build:
     runs-on: ubuntu-24.04
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 035965cf55..ee4e771937 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -42,6 +42,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   test:
     runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/pythonFormatting.yml b/.github/workflows/pythonFormatting.yml
index cbdd5e8457..aca79c10f4 100644
--- a/.github/workflows/pythonFormatting.yml
+++ b/.github/workflows/pythonFormatting.yml
@@ -33,6 +33,10 @@ on:
     branches:
       - main
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   black:
     runs-on: ubuntu-latest