nextcloud-cronjob/.woodpecker/lint.yml

29 lines
755 B
YAML
Raw Normal View History

2023-11-03 19:23:41 +01:00
---
steps:
gitleaks:
image: zricethezav/gitleaks:v8.18.0@sha256:e5f6d1a62786affd1abd882ecc73e9353ce78adea1650711f6e351767723712d
2023-11-03 19:23:41 +01:00
commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when:
event:
exclude:
- tag
2023-11-03 19:31:52 +01:00
2023-11-03 19:23:41 +01:00
hadolint:
image: pipelinecomponents/hadolint:0.25.9@sha256:430e949e6554d56ffc2dd08898ee609c71822d7fa1033f7c4dc240e90f2aac23
2023-11-03 19:23:41 +01:00
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag
2023-11-03 19:31:52 +01:00
2023-11-09 08:57:51 +01:00
shellcheck:
image: koalaman/shellcheck-alpine:stable@sha256:f73b035c8ebfc8a66ba54e07af5cc41e790cf41fff45317914b1ce677dd9cada
2023-11-09 08:57:51 +01:00
commands:
2023-11-09 09:06:21 +01:00
- "find . -name *.sh -exec shellcheck -x {} +"
2023-11-09 08:57:51 +01:00
when:
event:
exclude:
- tag