Skip to content

Commit d84edad

Browse files
authored
Merge pull request #408 from fluent/allow-cancel
ci: enable cancel-in-progress to reduce needless actions (backport #404)
2 parents ddb5019 + 52688d8 commit d84edad

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)