ci: limit builds to the master branch (and pulls targeting it)

This commit is contained in:
Daniel Eklöf 2021-10-10 19:05:47 +02:00
parent 77303e8173
commit 6250360c58
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -5,6 +5,7 @@ clone:
pipeline:
codespell:
when: { branch: master }
image: alpine:latest
commands:
- apk add python3
@ -13,6 +14,7 @@ pipeline:
- codespell README.md CHANGELOG.md *.c *.h doc/*.scd
subprojects:
when: { branch: master }
image: alpine:latest
commands:
- apk add git
@ -22,6 +24,7 @@ pipeline:
- cd ..
x64:
when: { branch: master }
group: build
image: alpine:latest
commands:
@ -72,6 +75,7 @@ pipeline:
- cd ../..
x86:
when: { branch: master }
group: build
image: i386/alpine:latest
commands: