build(workflows): add each workflow to its own trigger conditions

For each workflow, add its path to its own trigger conditions so that it automatically re-triggers for testing purposes whenever it is changed.

PR: #443
This commit is contained in:
innovaker
2020-11-28 19:18:18 +00:00
committed by Pete Johanson
parent 307fd5d250
commit e6d863c610
4 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ name: clang-format-lint
on:
push:
paths:
- ".github/workflows/clang-format-lint.yml"
- "app/boards/**/*.c"
- "app/include/**/*.h"
- "app/src/**"
@@ -10,6 +11,7 @@ on:
- "app/drivers/**/*.h"
pull_request:
paths:
- ".github/workflows/clang-format-lint.yml"
- "app/boards/**/*.c"
- "app/include/**/*.h"
- "app/src/**"