mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
33 lines
771 B
YAML
33 lines
771 B
YAML
when:
|
|
- event: [pull_request, cron]
|
|
- event: push
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
- renovate/*
|
|
|
|
variables:
|
|
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.0.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/
|
|
# well we should check it, but we can not do much about old deps if docusaurus do not take that seriously
|
|
# but this is not an issue as we just generate a static site anyway ...
|
|
failure: ignore
|
|
|
|
web:
|
|
depends_on: []
|
|
image: *trivy_plugin
|
|
settings:
|
|
skip-dirs: node_modules/
|
|
dir: web/
|