ci: fix when
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Michael Grote 2024-05-06 23:42:43 +02:00
parent c44018ec11
commit 5ebfd6dc79
2 changed files with 8 additions and 4 deletions

View File

@ -53,5 +53,6 @@ steps:
--label org.opencontainers.image.created=$DATE \ --label org.opencontainers.image.created=$DATE \
--file Dockerfile . --file Dockerfile .
when: when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - event: [push, pull_request]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
... ...

View File

@ -5,14 +5,16 @@ steps:
commands: commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE - gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when: when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - event: [push, pull_request]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
hadolint: hadolint:
image: pipelinecomponents/hadolint:0.26.1 image: pipelinecomponents/hadolint:0.26.1
commands: commands:
- hadolint Dockerfile - hadolint Dockerfile
when: when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - event: [push, pull_request]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
shellcheck: shellcheck:
image: "koalaman/shellcheck-alpine:v0.10.0" image: "koalaman/shellcheck-alpine:v0.10.0"
@ -25,5 +27,6 @@ steps:
fi fi
done done
when: when:
- evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - event: [push, pull_request]
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
... ...