httpd/.woodpecker/lint.yml
Renovate Bot 8f487a8f72 chore(deps): update zricethezav/gitleaks docker tag to v8.18.2 (#8)
Co-authored-by: Renovate Bot <renovate@mgrote.net>
Co-committed-by: Renovate Bot <renovate@mgrote.net>
2024-02-02 14:24:37 +01:00

35 lines
814 B
YAML

---
steps:
gitleaks:
image: zricethezav/gitleaks:v8.18.2
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
event:
exclude:
- tag
hadolint:
image: pipelinecomponents/hadolint:0.26.0
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag
shellcheck:
image: registry.mgrote.net/allzweckcontainer:latest
commands:
- |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
if echo "$line" | grep -q "shell script"; then
file_path=$(echo "$line" | awk -F':' '{print $1}')
shellcheck "$file_path"
fi
done
when:
event:
exclude:
- tag
...