Skip to content

Commit

Permalink
[ci] fix concurrency syntax with fake ternary and concat outside braces
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 3, 2024
1 parent 494b153 commit e40ec28
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ on:
workflow_dispatch:

concurrency:
group: >-
${{
github.event_name == 'pull_request' || github.event_name == 'push'
? github.workflow + '-' + github.ref
: github.workflow + '-' + github.ref + '-all'
}}
group: ${{ github.workflow }}-${{ github.ref }}${{(github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && '' || '-all' }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit e40ec28

Please sign in to comment.