diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2022-05-10 19:30:03 (GMT) |
|---|---|---|
| committer | NeroBurner <pyro4hell@gmail.com> | 2022-05-16 21:25:47 (GMT) |
| commit | 6171c9d45d61fa2cc12d5f3ec929c50b0c26fb0e (patch) | |
| tree | 6ebb4c8e1c5421cb978fcabc3ee85aa30358152b /.github/workflows | |
| parent | a6fcdec0f8157fb65e52712255295ebe78c455af (diff) | |
Only test format when it is wanted
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/format.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 8962d9d..9ebacc0 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -3,6 +3,10 @@ name: Code formatting on: pull_request: branches: [ master, develop ] + paths: + - '**.cpp' + - '**.h' + - '!src/libs/**' jobs: test-format: |
