Skip to content

Commit 34edc77

Browse files
committed
refactor(ci/cd): extend to two parallel dependabot PRs
1 parent 9f656eb commit 34edc77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
branches:
88
- "main"
99

10-
# We'd like to run the pipeline for Dependabot PRs sequentially, and all other PRs in parallel, but still only one action run for each PR.
10+
# We'd like to run the pipeline for Dependabot PRs with up to 2 in parallel, and all other PRs in parallel, but still only one action run for each PR.
1111
concurrency:
1212
group: >-
1313
${{
1414
github.actor == 'dependabot[bot]' &&
15-
'dependabot' ||
15+
format('dependabot-{0}', github.event.number % 2) ||
1616
format('{0}-{1}', github.workflow, github.ref)
1717
}}
1818
cancel-in-progress: >-

0 commit comments

Comments
 (0)