This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch v4 in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/v4 by this push: new d968dc6 Add PR number to concurrency definition in pr-automation d968dc6 is described below commit d968dc69dee536780d1f176b64bd2cfc6d9a2ef4 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sun Feb 9 18:41:01 2025 +0100 Add PR number to concurrency definition in pr-automation We need explicit add PR number to concurrency definition pull_request_target event set GITHUB_REF set to PR base branch https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target --- .github/workflows/pr-automation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml index 5e7b80c..cd9fd96 100644 --- a/.github/workflows/pr-automation.yml +++ b/.github/workflows/pr-automation.yml @@ -27,8 +27,8 @@ on: # allow single build per branch or PR concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }} + cancel-in-progress: false # clare all permissions for GITHUB_TOKEN permissions: {}