You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2026/10/19 14:26:33 UTC

(maven-gh-actions-shared) branch v5 updated: Use a unique concurrency group per push in PR Automation

This is an automated email from the ASF dual-hosted git repository.

slawekjaranowski pushed a commit to branch v5
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


The following commit(s) were added to refs/heads/v5 by this push:
     new ca82fe6  Use a unique concurrency group per push in PR Automation
ca82fe6 is described below

commit ca82fe617af042f4386aaa508fc15b24805a667c
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Oct 19 16:19:40 2026 +0200

    Use a unique concurrency group per push in PR Automation
    
    [ci skip]
    
    Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>
---
 .github/workflows/pr-automation.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml
index 0027713..c64fc0d 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-automation.yml
@@ -19,9 +19,10 @@ name: PR Automation
 on:
   workflow_call:
 
-# allow single build per branch or PR
+# allow single build per PR for pull_request_target,
+# push gets a unique group per commit - so no concurrency limit
 concurrency:
-  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }}
+  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number || github.sha }}
   cancel-in-progress: false
 
 # clare all permissions for GITHUB_TOKEN