Limit pipeline runs to main branch

This commit is contained in:
Paul Schaub 2025-09-27 11:26:18 +02:00
parent 180d7e9db1
commit 55d9312b26
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
steps:
- name: build
when:
branch: main
image: gradle:8.8-jdk11
commands:
- git checkout $CI_COMMIT_BRANCH

View file

@ -2,6 +2,8 @@
# See https://reuse.software/
steps:
reuse:
when:
branch: main
image: fsfe/reuse:latest
commands:
- reuse lint