Skip to content

Commit b1d8bde

Browse files
committed
Cancel ongoing workflows
1 parent 9e4253f commit b1d8bde

File tree

6 files changed

+31
-2
lines changed

6 files changed

+31
-2
lines changed

.github/workflows/bootstrap.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Bootstrap
22

3+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4+
concurrency:
5+
group: ${{ github.head_ref }}-${{ github.workflow }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
branches:

.github/workflows/linux.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Linux
22

3+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4+
concurrency:
5+
group: ${{ github.head_ref }}-${{ github.workflow }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
branches:
@@ -123,7 +128,7 @@ jobs:
123128
- uses: actions/checkout@v2
124129

125130
- uses: haskell/actions/setup@v1
126-
id: setup-haskell
131+
id: setup-haskell-extra
127132
with:
128133
ghc-version: ${{ matrix.extra-ghc }}
129134
cabal-version: latest # default, keeping for visibility

.github/workflows/macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: MacOS
22

3+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4+
concurrency:
5+
group: ${{ github.head_ref }}-${{ github.workflow }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
branches:
@@ -111,4 +116,3 @@ jobs:
111116
- name: Validate cli-suite
112117
if: matrix.cli == true
113118
run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v ${{ matrix.flags }} -s cli-suite
114-

.github/workflows/quick-jobs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Quick jobs
22

3+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4+
concurrency:
5+
group: ${{ github.head_ref }}-${{ github.workflow }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
branches:

.github/workflows/users-guide.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
name: Users guide
44

5+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
6+
concurrency:
7+
group: ${{ github.head_ref }}-${{ github.workflow }}
8+
cancel-in-progress: true
9+
510
on:
611
push:
712
branches:

.github/workflows/windows.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Windows
22

3+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
4+
concurrency:
5+
group: ${{ github.head_ref }}-${{ github.workflow }}
6+
cancel-in-progress: true
7+
38
on:
49
push:
510
branches:

0 commit comments

Comments
 (0)