diff options
| author | Michael Grote | 2024-05-06 23:49:55 +0200 |
|---|---|---|
| committer | Michael Grote | 2024-05-06 23:49:55 +0200 |
| commit | 1ca21a7f8818d0b90a098e555d596071f5412f46 (patch) | |
| tree | 1fc1d4e7e971be7c77e14b453864b73e7641e258 /.woodpecker/lint.yml | |
| parent | 92df72f00d667ad47662c7a4ba961e48c24d7b74 (diff) | |
ci: new default workflow for images
Diffstat (limited to '.woodpecker/lint.yml')
| -rw-r--r-- | .woodpecker/lint.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 5faa4cb..8d2307b 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -5,14 +5,16 @@ steps: commands: - gitleaks detect --no-git --verbose --source $CI_WORKSPACE when: - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' + - event: [push, pull_request] + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' hadolint: image: pipelinecomponents/hadolint:0.26.1 commands: - hadolint Dockerfile when: - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' + - event: [push, pull_request] + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' shellcheck: image: "koalaman/shellcheck-alpine:v0.10.0" @@ -25,5 +27,6 @@ steps: fi done when: - - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' + - event: [push, pull_request] + evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' ... |