Skip to content

Commit 8cdab34

Browse files
committed
chore(ci): need to remove tags filter
- as when no branch or tag trigger is specified, both branchs AND tags will trigger a CI run, otherwise only the specified event (in this case tags) will trigger a CI run - make use of yaml anchor support added in Sept 2025
1 parent 7abe39c commit 8cdab34

File tree

5 files changed

+9
-32
lines changed

5 files changed

+9
-32
lines changed

.github/workflows/build_fw.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22
name: Run tests and package firmware
33
on:
44
push:
5-
tags:
6-
- v*
7-
paths:
5+
paths: &trigger-paths
86
- '.github/workflows/build_fw.yml'
97
- 'cmake/**'
108
- 'radio/**'
119
- 'tools/build-gh.sh'
1210
- '.gitmodules'
1311
- 'CMakeLists.txt'
1412
pull_request:
15-
paths:
16-
- '.github/workflows/build_fw.yml'
17-
- 'cmake/**'
18-
- 'radio/**'
19-
- 'tools/build-gh.sh'
20-
- '.gitmodules'
21-
- 'CMakeLists.txt'
13+
paths: *trigger-paths
2214
workflow_dispatch:
2315

2416
jobs:

.github/workflows/linux_cpn.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@ name: Linux Companion
22

33
on:
44
push:
5-
tags:
6-
- v*
7-
paths:
5+
paths: &trigger-paths
86
- '.github/workflows/linux_cpn.yml'
97
- 'companion/**'
108
- 'tools/build-companion.sh'
119

1210
pull_request:
13-
paths:
14-
- '.github/workflows/linux_cpn.yml'
15-
- 'companion/**'
16-
- 'tools/build-companion.sh'
11+
paths: *trigger-paths
1712

1813
workflow_dispatch:
1914

.github/workflows/macosx_cpn.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@ name: MacOSX Companion
22

33
on:
44
push:
5-
tags:
6-
- v*
7-
paths:
5+
paths: &trigger-paths
86
- '.github/workflows/macosx_cpn.yml'
97
- 'companion/**'
108
- 'tools/build-companion.sh'
119

1210
pull_request:
13-
paths:
14-
- '.github/workflows/macosx_cpn.yml'
15-
- 'companion/**'
16-
- 'tools/build-companion.sh'
11+
paths: *trigger-paths
1712

1813
workflow_dispatch:
1914

.github/workflows/win_cpn-64.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@ name: Windows Companion 64-bit
22

33
on:
44
push:
5-
tags:
6-
- v*
7-
paths:
5+
paths: &trigger-paths
86
- '.github/workflows/win_cpn-64.yml'
97
- 'companion/**'
108
- 'tools/build-companion.sh'
119

1210
pull_request:
13-
paths:
14-
- '.github/workflows/win_cpn-64.yml'
15-
- 'companion/**'
16-
- 'tools/build-companion.sh'
11+
paths: *trigger-paths
1712

1813
workflow_dispatch:
1914

0 commit comments

Comments
 (0)