diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-28 19:18:18 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-28 16:59:38 -0500 |
commit | e6d863c61090c5f236657f67d688fafa349a5e55 (patch) | |
tree | e6ed3b2c454cfe711cb23b66e564eb5d0085ed13 /.github | |
parent | 307fd5d2508e33499198eaebc070e183c3d77230 (diff) |
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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/clang-format-lint.yml | 2 | ||||
-rw-r--r-- | .github/workflows/doc-checks.yml | 2 | ||||
-rw-r--r-- | .github/workflows/test.yml | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc00328..a421c6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,11 @@ on: push: paths: + - ".github/workflows/build.yml" - "app/**" pull_request: paths: + - ".github/workflows/build.yml" - "app/**" name: Build diff --git a/.github/workflows/clang-format-lint.yml b/.github/workflows/clang-format-lint.yml index 70ae986..6eb73cc 100644 --- a/.github/workflows/clang-format-lint.yml +++ b/.github/workflows/clang-format-lint.yml @@ -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/**" diff --git a/.github/workflows/doc-checks.yml b/.github/workflows/doc-checks.yml index a31a88e..df0e53f 100644 --- a/.github/workflows/doc-checks.yml +++ b/.github/workflows/doc-checks.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3521e9..8e66ab7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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/**" |