Skip to content

Commit e40ec28

Browse files
committed
[ci] fix concurrency syntax with fake ternary and concat outside braces
1 parent 494b153 commit e40ec28

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
concurrency:
13-
group: >-
14-
${{
15-
github.event_name == 'pull_request' || github.event_name == 'push'
16-
? github.workflow + '-' + github.ref
17-
: github.workflow + '-' + github.ref + '-all'
18-
}}
13+
group: ${{ github.workflow }}-${{ github.ref }}${{(github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && '' || '-all' }}
1914
cancel-in-progress: true
2015

2116
jobs:

0 commit comments

Comments
 (0)