Skip to content

Commit 3801868

Browse files
chris3warechazypro
andauthored
fix(checks): Add expression to allow renovate workflow run concurrency (#199)
Co-authored-by: James Ford <179285187+james3ware@users.noreply.github.com>
1 parent 4acb813 commit 3801868

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/dependency-review.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ on:
1515
permissions: {}
1616

1717
concurrency:
18-
group: dep-review-${{ github.workflow }}-${{ github.event.action }}-${{ github.head_ref }}
19-
cancel-in-progress: true
18+
group: dep-review-${{ github.workflow }}-${{ github.head_ref }}
19+
cancel-in-progress: ${{ github.actor == 'renovate[bot]' && false || true }}
2020

2121
jobs:
2222
dependency-review:

.github/workflows/pr-title.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ on:
77
permissions: {}
88

99
concurrency:
10-
# Add the event type to the concurrency group name
11-
# For example: to ensure unique events for edited and synchronized events
12-
# Renovate PRs are often edited and synchronized in quick succession
13-
group: pr-title-${{ github.workflow }}-${{ github.event.action }}-${{ github.head_ref }}
14-
cancel-in-progress: true
10+
group: pr-title-${{ github.workflow }}-${{ github.head_ref }}
11+
cancel-in-progress: ${{ github.actor == 'renovate[bot]' && false || true }}
1512

1613
defaults:
1714
run:

.github/workflows/wait-for-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions: {}
88

99
concurrency:
1010
group: checks-${{ github.workflow }}-${{ github.head_ref }}
11-
cancel-in-progress: true
11+
cancel-in-progress: ${{ github.actor == 'renovate[bot]' && false || true }}
1212

1313
jobs:
1414
enforce-all-checks:

0 commit comments

Comments
 (0)