mirror of
https://codeberg.org/PGPainless/vks-java.git
synced 2025-12-05 04:51:08 +01:00
Limit pipeline runs to main branch
This commit is contained in:
parent
180d7e9db1
commit
55d9312b26
2 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
image: gradle:8.8-jdk11
|
image: gradle:8.8-jdk11
|
||||||
commands:
|
commands:
|
||||||
- git checkout $CI_COMMIT_BRANCH
|
- git checkout $CI_COMMIT_BRANCH
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
# See https://reuse.software/
|
# See https://reuse.software/
|
||||||
steps:
|
steps:
|
||||||
reuse:
|
reuse:
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
image: fsfe/reuse:latest
|
image: fsfe/reuse:latest
|
||||||
commands:
|
commands:
|
||||||
- reuse lint
|
- reuse lint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue