You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2026/07/28 13:52:20 UTC
(solr) 05/07: Add concurrency cancellation to all PR-triggered workflows (#4318)
This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/solr.git
commit 6b61af1d541e2ca0ad113e39b81ae4d69e00c485
Author: Jan Høydahl <ja...@apache.org>
AuthorDate: Wed Apr 22 22:37:58 2026 +0200
Add concurrency cancellation to all PR-triggered workflows (#4318)
(cherry picked from commit 38c8768664d8fd3fc3db6a5dcd5cc55685d5c002)
---
.github/workflows/bin-solr-test.yml | 4 ++++
.github/workflows/docker-test.yml | 4 ++++
.github/workflows/gradle-extraction-check.yml | 4 ++++
.github/workflows/gradle-precommit.yml | 4 ++++
.github/workflows/labeler.yml | 4 ++++
.github/workflows/solrj-test.yml | 4 ++++
.github/workflows/validate-changelog.yml | 4 ++++
7 files changed, 28 insertions(+)
diff --git a/.github/workflows/bin-solr-test.yml b/.github/workflows/bin-solr-test.yml
index 919460090a3..13787f36bb2 100644
--- a/.github/workflows/bin-solr-test.yml
+++ b/.github/workflows/bin-solr-test.yml
@@ -10,6 +10,10 @@ on:
- 'solr/packaging/**'
- 'solr/core/src/java/org/apache/solr/cli/**'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
name: Run Solr Script Tests
diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml
index 2422e483676..200764af240 100644
--- a/.github/workflows/docker-test.yml
+++ b/.github/workflows/docker-test.yml
@@ -10,6 +10,10 @@ on:
- 'solr/docker/**'
- 'solr/packaging/**'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
name: Build and test Docker image
diff --git a/.github/workflows/gradle-extraction-check.yml b/.github/workflows/gradle-extraction-check.yml
index d508c9b6584..5e7918852dd 100644
--- a/.github/workflows/gradle-extraction-check.yml
+++ b/.github/workflows/gradle-extraction-check.yml
@@ -8,6 +8,10 @@ on:
paths:
- 'solr/modules/extraction/**'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
name: extraction module tests with docker
diff --git a/.github/workflows/gradle-precommit.yml b/.github/workflows/gradle-precommit.yml
index fe1c98de435..fa2f6fe278d 100644
--- a/.github/workflows/gradle-precommit.yml
+++ b/.github/workflows/gradle-precommit.yml
@@ -5,6 +5,10 @@ on:
branches:
- '*'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
name: gradle check
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 36c3454ece4..71f5469f585 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -2,6 +2,10 @@ name: "Pull Request Labeler"
on:
- pull_request_target
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
labeler:
permissions:
diff --git a/.github/workflows/solrj-test.yml b/.github/workflows/solrj-test.yml
index 45b4c61fdcb..12e044288ef 100644
--- a/.github/workflows/solrj-test.yml
+++ b/.github/workflows/solrj-test.yml
@@ -8,6 +8,10 @@ on:
- '.github/workflows/solrj-test.yml'
- 'solr/solrj/**'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
name: Run SolrJ Tests
diff --git a/.github/workflows/validate-changelog.yml b/.github/workflows/validate-changelog.yml
index 8b230ba6e15..e5bcd75d0c9 100644
--- a/.github/workflows/validate-changelog.yml
+++ b/.github/workflows/validate-changelog.yml
@@ -5,6 +5,10 @@ on:
branches:
- '*'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
validate-changelog:
name: Check changelog entry