Skip to content

Commit bbf35d1

Browse files
committed
Updated GitHub actions to cancel themselves propperly
1 parent d58abdd commit bbf35d1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ on:
88
tags: ['*']
99
pull_request:
1010
concurrency:
11-
# Skip intermediate builds: always.
12-
# Cancel intermediate builds: only if it is a pull request build.
13-
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
1513
jobs:
1614
test:
1715
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}

0 commit comments

Comments
 (0)