woodpeckerci: promote when to root

This commit is contained in:
Paul Campbell 2023-07-28 19:42:26 +01:00
parent 040e37d2a9
commit d23fd7e590

View file

@ -1,12 +1,12 @@
steps:
build:
image: rust:latest
pull: true
when:
- event: pull_request
repo: kemitix/podal
- event: push
branch: main
steps:
build:
image: rust:latest
pull: true
commands:
- rustup component add rustfmt clippy
- cargo --version