.github: run the workflows that use problem matchers when those change

test_sitl_copter, test_sitl_rover and test_sitl_sub register four
matchers from .github/problem-matchers/ but ignored all of .github/
bar actions and their own file, so a matcher edit never reached the
workflow it was written for.  They gain the negation esp32_build.yml
already carries.  test_scripting.yml filters on an allowlist instead,
so Lua.json has to be named there.
This commit is contained in:
Pierre Kancir
2026-09-08 19:44:09 +10:00
committed by Peter Barker
parent be33a004c5
commit 795f76b1b6
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -11,6 +11,7 @@ on:
- 'Tools/scripts/run_luacheck.sh'
- 'Tools/scripts/generate_lua_docs.sh'
- '.github/workflows/test_scripting.yml'
- '.github/problem-matchers/Lua.json'
pull_request:
paths: # only run for scripting changes
@@ -21,6 +22,7 @@ on:
- 'Tools/scripts/run_luacheck.sh'
- 'Tools/scripts/generate_lua_docs.sh'
- '.github/workflows/test_scripting.yml'
- '.github/problem-matchers/Lua.json'
workflow_dispatch:
+2
View File
@@ -80,6 +80,7 @@ on:
# Remove change on other workflows
- '.github/**'
- '!.github/actions/**' # except actions
- '!.github/problem-matchers/**' # except problem matchers
- '!.github/workflows/test_sitl_copter.yml' # except this one
@@ -161,6 +162,7 @@ on:
# Remove change on other workflows
- '.github/**'
- '!.github/actions/**' # except actions
- '!.github/problem-matchers/**' # except problem matchers
- '!.github/workflows/test_sitl_copter.yml' # except this one
workflow_dispatch:
+2
View File
@@ -79,6 +79,7 @@ on:
# Remove change on other workflows
- '.github/**'
- '!.github/actions/**' # except actions
- '!.github/problem-matchers/**' # except problem matchers
- '!.github/workflows/test_sitl_rover.yml' # except this one
pull_request:
@@ -158,6 +159,7 @@ on:
# Remove change on other workflows
- '.github/**'
- '!.github/actions/**' # except actions
- '!.github/problem-matchers/**' # except problem matchers
- '!.github/workflows/test_sitl_rover.yml' # except this one
workflow_dispatch:
+2
View File
@@ -81,6 +81,7 @@ on:
# Remove change on other workflows
- '.github/**'
- '!.github/actions/**' # except actions
- '!.github/problem-matchers/**' # except problem matchers
- '!.github/workflows/test_sitl_sub.yml' # except this one
pull_request:
@@ -162,6 +163,7 @@ on:
# Remove change on other workflows
- '.github/**'
- '!.github/actions/**' # except actions
- '!.github/problem-matchers/**' # except problem matchers
- '!.github/workflows/test_sitl_sub.yml' # except this one
workflow_dispatch: