mkdocs/.woodpecker/lint.yml

28 lines
755 B
YAML

---
steps:
gitleaks:
image: zricethezav/gitleaks:v8.18.1@sha256:6945c62ca019ead32bc337ab0c9fd055e98d82961765d38b7ccccc84dae95d0f
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
event:
exclude:
- tag
hadolint:
image: pipelinecomponents/hadolint:0.25.9@sha256:9cef74a390694cdc01dd119cbba9adac5bb6671ce67d8d79eb7ec68f497a3684
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag
shellcheck:
image: koalaman/shellcheck-alpine:stable@sha256:f73b035c8ebfc8a66ba54e07af5cc41e790cf41fff45317914b1ce677dd9cada
commands:
- "find . -name *.sh -exec shellcheck -x {} +"
when:
event:
exclude:
- tag