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
This commit is contained in:
Peter Feerick
2025-11-25 11:00:54 +00:00
parent 7abe39c095
commit 8cdab34d93
5 changed files with 9 additions and 32 deletions
+2 -10
View File
@@ -2,9 +2,7 @@
name: Run tests and package firmware
on:
push:
tags:
- v*
paths:
paths: &trigger-paths
- '.github/workflows/build_fw.yml'
- 'cmake/**'
- 'radio/**'
@@ -12,13 +10,7 @@ on:
- '.gitmodules'
- 'CMakeLists.txt'
pull_request:
paths:
- '.github/workflows/build_fw.yml'
- 'cmake/**'
- 'radio/**'
- 'tools/build-gh.sh'
- '.gitmodules'
- 'CMakeLists.txt'
paths: *trigger-paths
workflow_dispatch:
jobs:
+2 -7
View File
@@ -2,18 +2,13 @@ name: Linux Companion
on:
push:
tags:
- v*
paths:
paths: &trigger-paths
- '.github/workflows/linux_cpn.yml'
- 'companion/**'
- 'tools/build-companion.sh'
pull_request:
paths:
- '.github/workflows/linux_cpn.yml'
- 'companion/**'
- 'tools/build-companion.sh'
paths: *trigger-paths
workflow_dispatch:
+2 -7
View File
@@ -2,18 +2,13 @@ name: MacOSX Companion
on:
push:
tags:
- v*
paths:
paths: &trigger-paths
- '.github/workflows/macosx_cpn.yml'
- 'companion/**'
- 'tools/build-companion.sh'
pull_request:
paths:
- '.github/workflows/macosx_cpn.yml'
- 'companion/**'
- 'tools/build-companion.sh'
paths: *trigger-paths
workflow_dispatch:
+2 -7
View File
@@ -2,18 +2,13 @@ name: Windows Companion 64-bit
on:
push:
tags:
- v*
paths:
paths: &trigger-paths
- '.github/workflows/win_cpn-64.yml'
- 'companion/**'
- 'tools/build-companion.sh'
pull_request:
paths:
- '.github/workflows/win_cpn-64.yml'
- 'companion/**'
- 'tools/build-companion.sh'
paths: *trigger-paths
workflow_dispatch: