Skip to content

Commit 9c4ef1a

Browse files
committed
ci: add cancel-in-progress setting
see fluent/fluentd#4689 ref. https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 45cf83e commit 9c4ef1a

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/apt-arm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Apt based Linux (AArch64)
22
on:
33
workflow_dispatch:
4+
concurrency:
5+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
6+
cancel-in-progress: true
47
jobs:
58
build:
69
name: Build

.github/workflows/apt.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- master
66
- fluent-package-lts-v5
77
pull_request:
8+
concurrency:
9+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
10+
cancel-in-progress: true
811
jobs:
912
build:
1013
name: Build

.github/workflows/macos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- master
66
- fluent-package-lts-v5
77
pull_request:
8+
concurrency:
9+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
10+
cancel-in-progress: true
811
jobs:
912
build:
1013
name: Build

.github/workflows/windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- master
66
- fluent-package-lts-v5
77
pull_request:
8+
concurrency:
9+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
10+
cancel-in-progress: true
811
jobs:
912
build:
1013
name: Build

.github/workflows/yum-arm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Yum based Linux (AArch64)
22
on:
33
workflow_dispatch:
4+
concurrency:
5+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
6+
cancel-in-progress: true
47
jobs:
58
build:
69
name: Build

.github/workflows/yum.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- master
66
- fluent-package-lts-v5
77
pull_request:
8+
concurrency:
9+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
10+
cancel-in-progress: true
811
jobs:
912
build:
1013
name: Build

0 commit comments

Comments
 (0)