Skip to content

Commit 1b7e230

Browse files
IONOS(ci): Include PR number in concurrency group for pull requests
Update concurrency group definition to use github.event.number for pull requests. This ensures each PR gets its own concurrency group, preventing PRs from canceling each other's builds while still allowing new commits to the same PR to cancel previous runs. Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
1 parent ac829b8 commit 1b7e230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-artifact.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ concurrency:
5656
github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) ||
5757
(
5858
(
59-
contains(fromJson('["refs/heads/ionos-dev"]'), github.ref) ||
59+
contains(fromJson('["refs/heads/ionos-dev","refs/heads/ionos-stable"]'), github.ref) ||
6060
startsWith(github.ref, 'refs/heads/rc/')
6161
) && github.run_id ||
6262
github.ref

0 commit comments

Comments
 (0)