aboutsummaryrefslogtreecommitdiffstats
path: root/.woodpecker/lint.yml
diff options
context:
space:
mode:
authorMichael Grote2024-05-06 23:55:34 +0200
committerMichael Grote2024-05-06 23:55:34 +0200
commitc78b0a97199471747ee6d95725ebd32bd9d79658 (patch)
treefbb4c143ec47f9d24d4d4903c49633cf4ab44a4c /.woodpecker/lint.yml
parentefabcd495045dd1e4b5d664a27a58a7525eea0e9 (diff)
ci: new default workflow for images
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"'
...