Skip to content

Commit da7da3f

Browse files
authored
ci: enable cancel-in-progress to reduce needless actions (#404)
Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent 1319757 commit da7da3f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Linux
22
on:
33
push:
44
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
8+
cancel-in-progress: true
9+
510
jobs:
611
build:
712
name: Build & Test

.github/workflows/windows.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Windows
22
on:
33
push:
44
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
8+
cancel-in-progress: true
9+
510
jobs:
611
build:
712
name: Build & Test

0 commit comments

Comments
 (0)