Skip to content

Commit

Permalink
[ci] change concurrency to treat dispatch and scheduled tests indepen…
Browse files Browse the repository at this point in the history
…dently of push and pr
  • Loading branch information
titusfortner committed Jan 3, 2024
1 parent 45da018 commit f232416
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ on:
workflow_dispatch:

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

jobs:
check:
Expand Down

0 comments on commit f232416

Please sign in to comment.