]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
CI: Configure GitHub workflows to use concurrency cancel-in-progress for
authorJoe Orton <jorton@apache.org>
Mon, 8 Jun 2026 13:13:49 +0000 (13:13 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 8 Jun 2026 13:13:49 +0000 (13:13 +0000)
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/trunk@1935145 13f79535-47bb-0310-9956-ffa450edef68

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

index b10cdf14ae24b9d8e74339e023ee481e633a517e..f7473fb4f214ac3650c0720c97a21ddaacc139c4 100644 (file)
@@ -26,6 +26,10 @@ env:
   # This will need updating as the ubuntu-latest image changes:
   PHP_FPM: "/usr/sbin/php-fpm8.3"
 
+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: