Skip to content

Commit 4a5e922

Browse files
committed
ci: Don't trigger CI on push and pull_request event
This will avoid building 2 time the same commit. Also, try to homogenize workflows.
1 parent 0856ff2 commit 4a5e922

File tree

6 files changed

+32
-4
lines changed

6 files changed

+32
-4
lines changed

.github/workflows/jrl-cmakemodules.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI - JRL-cmakemodules
22

33
on:
44
push:
5+
branches:
6+
- devel
57
paths-ignore:
68
- 'doc/**'
79
- '.gitlab-ci.yml'

.github/workflows/linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI - Linux via APT
22

33
on:
44
push:
5+
branches:
6+
- devel
57
paths-ignore:
68
- 'doc/**'
79
- '.gitlab-ci.yml'
@@ -28,6 +30,7 @@ jobs:
2830
name: "Test python ${{ matrix.python }} on ${{ matrix.ubuntu }}.04"
2931
runs-on: "ubuntu-${{ matrix.ubuntu }}.04"
3032
strategy:
33+
fail-fast: false
3134
matrix:
3235
python: [3]
3336
ubuntu: [22, 24]

.github/workflows/macos-linux-windows-pixi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI - MacOS/Linux/Windows via Pixi
22

33
on:
44
push:
5+
branches:
6+
- devel
57
paths-ignore:
68
- 'doc/**'
79
- '.gitlab-ci.yml'

.github/workflows/nix.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,33 @@ name: "CI - Nix"
33
on:
44
push:
55
branches:
6-
- master
76
- devel
7+
paths-ignore:
8+
- 'doc/**'
9+
- '.gitlab-ci.yml'
10+
- '.gitignore'
11+
- '*.md'
12+
- 'LICENSE'
13+
- 'colcon.pkg'
14+
- '.pre-commit-config.yaml'
815
pull_request:
9-
branches:
10-
- master
11-
- devel
16+
paths-ignore:
17+
- 'doc/**'
18+
- '.gitlab-ci.yml'
19+
- '.gitignore'
20+
- '*.md'
21+
- 'LICENSE'
22+
- 'colcon.pkg'
23+
- '.pre-commit-config.yaml'
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.ref }}
26+
cancel-in-progress: true
1227

1328
jobs:
1429
nix:
1530
runs-on: "${{ matrix.os }}-latest"
1631
strategy:
32+
fail-fast: false
1733
matrix:
1834
os: [ubuntu, macos]
1935
steps:

.github/workflows/reloc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI - Ensure relocatable
22

33
on:
44
push:
5+
branches:
6+
- devel
57
paths-ignore:
68
- 'doc/**'
79
- '.gitlab-ci.yml'

.github/workflows/ros_ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ name: CI - Linux via ROS
66
# This determines when this workflow is run
77
on:
88
push:
9+
branches:
10+
- devel
911
paths-ignore:
1012
- 'doc/**'
1113
- '.gitlab-ci.yml'
@@ -30,6 +32,7 @@ concurrency:
3032
jobs:
3133
CI:
3234
strategy:
35+
fail-fast: false
3336
matrix:
3437
env:
3538
- {ROS_DISTRO: humble}

0 commit comments

Comments
 (0)