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:
parent
307fd5d250
commit
e6d863c610
4 changed files with 8 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -1,9 +1,11 @@
|
|||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".github/workflows/build.yml"
|
||||
- "app/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/build.yml"
|
||||
- "app/**"
|
||||
|
||||
name: Build
|
||||
|
|
2
.github/workflows/clang-format-lint.yml
vendored
2
.github/workflows/clang-format-lint.yml
vendored
|
@ -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/**"
|
||||
|
|
2
.github/workflows/doc-checks.yml
vendored
2
.github/workflows/doc-checks.yml
vendored
|
@ -3,9 +3,11 @@ name: doc-checks
|
|||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".github/workflows/doc-checks.yml"
|
||||
- "docs/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/doc-checks.yml"
|
||||
- "docs/**"
|
||||
|
||||
jobs:
|
||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -1,10 +1,12 @@
|
|||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".github/workflows/test.yml"
|
||||
- "app/tests/**"
|
||||
- "app/src/**"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/test.yml"
|
||||
- "app/tests/**"
|
||||
- "app/src/**"
|
||||
|
||||
|
|
Loading…
Reference in a new issue