This repository has been archived on 2024-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
python-api-server/.woodpecker/lint.yml

31 lines
574 B
YAML

---
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
hadolint:
image: hadolint/hadolint:latest-debian
commands:
- hadolint Dockerfile
when:
event:
exclude:
- tag
shellcheck:
image: koalaman/shellcheck-alpine:stable
commands:
- "find . -name *.sh -exec shellcheck {} +"
when:
event:
exclude:
- tag