mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
.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:
committed by
Peter Barker
parent
be33a004c5
commit
795f76b1b6
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user