mkdocs/.woodpecker/lint.yml

29 lines
680 B
YAML
Raw Normal View History

2023-11-13 10:31:34 +01:00
---
steps:
gitleaks:
2024-01-26 22:50:46 +01:00
image: zricethezav/gitleaks:v8.18.0
2023-11-13 10:31:34 +01:00
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
event:
exclude:
- tag
hadolint:
image: hadolint/hadolint:latest-debian@sha256:9cef74a390694cdc01dd119cbba9adac5bb6671ce67d8d79eb7ec68f497a3684
2023-11-13 10:31:34 +01:00
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag
shellcheck:
image: koalaman/shellcheck-alpine:stable@sha256:f73b035c8ebfc8a66ba54e07af5cc41e790cf41fff45317914b1ce677dd9cada
2023-11-13 10:31:34 +01:00
commands:
- "find . -name *.sh -exec shellcheck -x {} +"
when:
event:
exclude:
- tag