]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1935145 from trunk:
authorJoe Orton <jorton@apache.org>
Mon, 8 Jun 2026 16:43:13 +0000 (16:43 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 8 Jun 2026 16:43:13 +0000 (16:43 +0000)
CI: Configure GitHub workflows to use concurrency cancel-in-progress for
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 <apupier@ibm.com>
Submitted by: AurĂ©lien Pupier <apupier@ibm.com>
Github: closes #667

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1935149 13f79535-47bb-0310-9956-ffa450edef68

.github/workflows/linux.yml
.github/workflows/windows.yml

index e603cc8bdc842db54b3050ed2ecc3b195d504473..a1ca4e6e657518dbfaaa184c12cee4a59d25ba3d 100644 (file)
@@ -24,6 +24,10 @@ env:
   # This will need updating as the ubuntu-latest image changes:
   PHP_FPM: "/usr/sbin/php-fpm8.1"
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   build:
     strategy:
index ee764d3bcf558a46b3eeb98b12033b60c2f8eb4d..5cf01fafe997cb3edc19e405acbdecc3d476eb73 100644 (file)
@@ -18,6 +18,10 @@ on:
       - CHANGES
       - changes-entries/*
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   build:
     strategy: