Skip to content

Commit 7c59670

Browse files
committed
ci: cancel in-progress runs
1 parent e6d641e commit 7c59670

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/native-wsl.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Native and WSL
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
# Pushing new changes to a branch will cancel any in-progress CI runs of this workflow
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
510
jobs:
611
build:
712
runs-on: ${{ matrix.os }}

.github/workflows/node-4+.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: 'Tests: node.js'
22

33
on: [pull_request, push]
44

5+
concurrency:
6+
# Pushing new changes to a branch will cancel any in-progress CI runs of this workflow
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
510
permissions:
611
contents: read
712

.github/workflows/packages.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: 'Tests: packages'
22

33
on: [pull_request, push]
44

5+
concurrency:
6+
# Pushing new changes to a branch will cancel any in-progress CI runs of this workflow
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
510
permissions:
611
contents: read
712

0 commit comments

Comments
 (0)