diff options
author | NRK <nrk@disroot.org> | 2022-06-17 10:01:09 +0200 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-06-25 08:27:01 +0200 |
commit | 82487293203cf5bad77e4fc8aa4da262e7b1c049 (patch) | |
tree | b80cf8ee5c61fb09bff3a0f7922cb582bfb2aedf /.woodpecker/analysis.yml | |
parent | a9d2b5b088a03972908bdfd2878091b68e8bc4b0 (diff) | |
download | nsxiv-82487293203cf5bad77e4fc8aa4da262e7b1c049.tar.zst |
[ci]: skip the pipeline entirely if branch isn't master
currently, it will clone the repo and then skip the step. this is
wasteful, instead skip the pipeline entirely.
Diffstat (limited to '.woodpecker/analysis.yml')
-rw-r--r-- | .woodpecker/analysis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.woodpecker/analysis.yml b/.woodpecker/analysis.yml index 9a18b45..56cc7b1 100644 --- a/.woodpecker/analysis.yml +++ b/.woodpecker/analysis.yml @@ -1,8 +1,8 @@ +branches: master + pipeline: analysis: image: alpine - when: - branch: master commands: | apk add --no-cache build-base cppcheck clang-extra-tools \ imlib2-dev xorgproto \ |