From e52d3384a4168f307a4491c648979a7fb8f63a3d Mon Sep 17 00:00:00 2001 From: mignot Date: Mon, 23 Nov 2026 18:13:20 +0100 Subject: [PATCH] ci: group repository checks by pull request number --- .github/workflows/org-conformance-self.yml | 2 +- .github/workflows/test-actions.yml | 2 +- CHANGELOG.md | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/org-conformance-self.yml b/.github/workflows/org-conformance-self.yml index 41b1985..b0bf7c6 100644 --- a/.github/workflows/org-conformance-self.yml +++ b/.github/workflows/org-conformance-self.yml @@ -9,7 +9,7 @@ permissions: contents: read concurrency: - group: org-conformance-self-${{ github.head_ref || github.ref }} + group: org-conformance-self-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/test-actions.yml b/.github/workflows/test-actions.yml index 0bfe089..a408ff0 100644 --- a/.github/workflows/test-actions.yml +++ b/.github/workflows/test-actions.yml @@ -6,7 +6,7 @@ on: pull_request: concurrency: - group: test-actions-${{ github.head_ref || github.ref }} + group: test-actions-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index b52d378..6d156cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Group the repository's CI runs by pull request number so pull requests with the same head branch name run independently. + ## [6.4.1] - 2026-11-23