This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new 74f1ddad8bc Configure GitHub workflows to use concurrency
cancel-in-progress for (#3195)
74f1ddad8bc is described below
commit 74f1ddad8bc337b15e6d8eab60a2ffc36c5b1f57
Author: Aurélien Pupier <[email protected]>
AuthorDate: Mon Jun 8 18:08:29 2026 +0200
Configure GitHub workflows to use concurrency cancel-in-progress for (#3195)
pull requests
see recommended best practices at Apache
https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=GitHub+Actions+Recommended+Practices
Signed-off-by: Aurélien Pupier <[email protected]>
---
.github/workflows/codeql-analysis.yml | 4 ++++
.github/workflows/pull-request-build.yml | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/.github/workflows/codeql-analysis.yml
b/.github/workflows/codeql-analysis.yml
index 6c21417e6a0..62b045d4091 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -17,6 +17,10 @@ on:
permissions:
contents: read
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
analyze:
permissions:
diff --git a/.github/workflows/pull-request-build.yml
b/.github/workflows/pull-request-build.yml
index 97409b2c757..4deb85c6608 100644
--- a/.github/workflows/pull-request-build.yml
+++ b/.github/workflows/pull-request-build.yml
@@ -7,6 +7,10 @@ on:
permissions:
contents: read
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
build:
runs-on: ${{ matrix.os }}