You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2026/06/08 13:13:50 UTC

svn commit: r1935145 - httpd/httpd/trunk/.github/workflows

Author: jorton
Date: Mon Jun  8 13:13:49 2026
New Revision: 1935145

Log:
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 <ap...@ibm.com>
Submitted by: Aurélien Pupier <ap...@ibm.com>
Github: closes #667

Modified:
   httpd/httpd/trunk/.github/workflows/linux.yml
   httpd/httpd/trunk/.github/workflows/windows.yml

Modified: httpd/httpd/trunk/.github/workflows/linux.yml
==============================================================================
--- httpd/httpd/trunk/.github/workflows/linux.yml	Mon Jun  8 13:12:42 2026	(r1935144)
+++ httpd/httpd/trunk/.github/workflows/linux.yml	Mon Jun  8 13:13:49 2026	(r1935145)
@@ -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:

Modified: httpd/httpd/trunk/.github/workflows/windows.yml
==============================================================================
--- httpd/httpd/trunk/.github/workflows/windows.yml	Mon Jun  8 13:12:42 2026	(r1935144)
+++ httpd/httpd/trunk/.github/workflows/windows.yml	Mon Jun  8 13:13:49 2026	(r1935145)
@@ -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: