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

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 4f8c258d21 Reduce action concurrency when we have a commit storm
4f8c258d21 is described below

commit 4f8c258d21ec449cae4f2a3416ce231c347eb5c4
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Oct 23 12:43:08 2026 +0100

    Reduce action concurrency when we have a commit storm
---
 .github/workflows/ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 996b95490c..85c35808f0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,6 +20,12 @@ on:
     branches:
       - 10.1.x
 
+# Only one run of the same workflow per branch or pull request runs at a time. 
A run that is still queued is
+# cancelled when the workflow is triggered for a newer commit, but a run that 
is already in progress is left to finish.
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
github.ref }}
+  cancel-in-progress: false
+
 permissions:
   contents: read
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to