--- clone: git: image: woodpeckerci/plugin-git settings: skip_verify: true steps: "lint:precommit": group: lint image: python:3.11.6-bullseye commands: - pip install pre-commit - pre-commit install - pre-commit run --all-files "lint:credentials": group: lint image: ghcr.io/gitleaks/gitleaks:latest commands: - export HOME=/home/gitleaks - gitleaks detect "lint:commitlint": group: lint image: node:lts-slim commands: - npm install --save-dev conventional-changelog-conventionalcommits @commitlint/config-conventional commitlint@latest - "echo message: $CI_COMMIT_MESSAGE" - "echo $CI_COMMIT_MESSAGE | npx commitlint" when: - branch: [main, dev] event: push