Krolyxon
Commit 8248729

Branches

Refs →

nsxiv8248729

[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.
Author
NRK
Date
2022-06-17 14:01 +0600
Committer
Gitea · 2022-06-25 08:27 +0200
Parent
a9d2b5b
Commit
82487293203cf5bad77e4fc8aa4da262e7b1c049

+4 −4

2 files changed

  1. M .woodpecker/analysis.yml +2 −2
  2. M .woodpecker/build.yml +2 −2
M .woodpecker/analysis.yml View
@@ -1,8 +1,8 @@
1+branches: master
2+
13 pipeline:
24 analysis:
35 image: alpine
4− when:
5− branch: master
66 commands: |
77 apk add --no-cache build-base cppcheck clang-extra-tools \
88 imlib2-dev xorgproto \
M .woodpecker/build.yml View
@@ -1,11 +1,11 @@
1+branches: master
2+
13 # NOTE: "stable" tcc is too old and fails at linking. instead fetching a recent known working commit.
24 pipeline:
35 build:
46 image: alpine
57 environment:
68 - TCC_SHA=027b8fb9b88fe137447fb8bb1b61079be9702472
7− when:
8− branch: master
99 commands: |
1010 apk add --no-cache \
1111 imlib2 imlib2-dev xorgproto \