Skip to content

Commit ca7c933

Browse files
committed
ci: Cancel PR workflow on new push
1 parent 343122e commit ca7c933

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/jrl-cmakemodules.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: JRL-cmakemodules
22
on: [push,pull_request]
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
36

47
jobs:
58
with-submodules:

.github/workflows/linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Check build on linux
22

33
on: ["push", "pull_request"]
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
47

58
jobs:
69
test:

.github/workflows/macos-linux-conda.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Conda-CI
22

33
on: [push,pull_request]
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
47

58
jobs:
69
eigenpy-conda:

.github/workflows/reloc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Ensure relocatable
22

33
on: [push,pull_request]
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
47

58
jobs:
69
relocatable:

.github/workflows/ros_ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ name: ROS-CI
55

66
# This determines when this workflow is run
77
on: [push, pull_request] # on all pushes and PRs
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
811

912
jobs:
1013
CI:

.github/workflows/windows-conda.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Eigenpy on Windows via Conda
22
on: [push,pull_request]
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
36

47
jobs:
58
build:

0 commit comments

Comments
 (0)