diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index e48a43d4bc..64800a212e 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -1,8 +1,6 @@ when: - - event: pull_request - - event: push - branch: [ main, release/* ] - + event: [pull_request, push, cron] + branch: ${CI_REPO_DEFAULT_BRANCH} variables: - &golang_image 'golang:1.20.2' diff --git a/.woodpecker/securityscan.yml b/.woodpecker/securityscan.yml index aeb9021dd9..ab2bee2336 100644 --- a/.woodpecker/securityscan.yml +++ b/.woodpecker/securityscan.yml @@ -20,6 +20,9 @@ steps: settings: skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/ dir: docs/ + when: + event: [pull_request, push, cron] + branch: ${CI_REPO_DEFAULT_BRANCH} check web: group: check