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

[email protected] Mon, 08 Jun 2026 13:13:50 -0000
Newsgroups gmane.comp.apache.cvs
Message-ID <178092443009.4058824.5144247740374642525@svn03-he-fi>
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 <[email protected]>
Submitted by: AurĂ©lien Pupier <[email protected]>
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: