Skip to content

Commit fc10327

Browse files
committed
Cancel in-progress jobs
1 parent cb3393c commit fc10327

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/gfortran.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
branches: [ master ]
1010
pull_request:
1111

12+
# Cancel in-progress jobs or runs for the current workflow - matches against branch & tags
13+
# https://docs.github.com/en/actions/using-jobs/using-concurrency
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1218
env:
1319
# FFLAGS for building ABIN, applicable for most jobs
1420
ABIN_FFLAGS: -O0 -fopenmp --coverage -fprofile-abs-path -ffpe-trap=invalid,zero,overflow,denormal -fimplicit-none -Wall -Wno-integer-division -Wno-maybe-uninitialized

0 commit comments

Comments
 (0)