woodpecker/.woodpecker/securityscan.yaml
2024-10-05 08:14:16 +03:00

30 lines
565 B
YAML

when:
- event: [pull_request, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- renovate/*
variables:
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.1.1
steps:
backend:
depends_on: []
image: *trivy_plugin
settings:
skip-dirs: web/,docs/
docs:
depends_on: []
image: *trivy_plugin
settings:
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
dir: docs/
web:
depends_on: []
image: *trivy_plugin
settings:
skip-dirs: node_modules/
dir: web/