We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2378fc commit 305eae6Copy full SHA for 305eae6
.github/workflows/default.yml
@@ -8,9 +8,19 @@ on:
8
branches:
9
- "main"
10
11
+# 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.
12
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
13
- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
+ group: >-
14
+ ${{
15
+ github.actor == 'dependabot[bot]' &&
16
+ 'dependabot' ||
17
+ format('{0}-{1}', github.workflow, github.ref)
18
+ }}
19
+ cancel-in-progress: >-
20
21
+ github.actor != 'dependabot[bot]' &&
22
+ github.ref != 'refs/heads/main'
23
24
25
jobs:
26
init:
0 commit comments