From: Joe Orton Date: Mon, 8 Jun 2026 13:13:49 +0000 (+0000) Subject: CI: Configure GitHub workflows to use concurrency cancel-in-progress for X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=3b5d7d3312449fcf045a437c92be027ffaf02e57;p=thirdparty%2Fapache%2Fhttpd.git 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 Submitted by: Aurélien Pupier Github: closes #667 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935145 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b10cdf14ae..f7473fb4f2 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ee764d3bcf..5cf01fafe9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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: