aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker/lint.yml')
-rw-r--r--.woodpecker/lint.yml9
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"'
...