nextcloud-cronjob/.woodpecker/lint.yml

32 lines
582 B
YAML
Raw Normal View History

2023-11-03 19:23:41 +01:00
---
kind: pipeline
type: docker
name: linting
steps:
gitleaks:
image: zricethezav/gitleaks:latest
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: hadolint/hadolint:latest-debian
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag
2023-11-03 19:31:52 +01:00
2023-11-08 16:26:14 +01:00
#shellcheck:
# image: koalaman/shellcheck-alpine:stable
# commands:
# - "find . -name *.sh -exec shellcheck {} +"
# when:
# event:
# exclude:
# - tag