diff --git a/.woodpecker/docker.yml b/.woodpecker/docker.yml index a4151f41c..e9f1014e1 100644 --- a/.woodpecker/docker.yml +++ b/.woodpecker/docker.yml @@ -1,3 +1,8 @@ +when: + - event: pull_request + - event: push + branch: [${CI_REPO_DEFAULT_BRANCH}, release/*] + depends_on: - test - web diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index f9bf6b44f..eab75992f 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -1,3 +1,8 @@ +when: + - event: pull_request + - event: push + branch: [${CI_REPO_DEFAULT_BRANCH}, release/*] + variables: - &golang_image 'golang:1.20.2' - &node_image 'node:18-alpine' diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 6eaea570c..1c2685531 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -1,3 +1,8 @@ +when: + - event: pull_request + - event: push + branch: [${CI_REPO_DEFAULT_BRANCH}, release/*] + variables: - &golang_image 'golang:1.20.2' - &when diff --git a/.woodpecker/web.yml b/.woodpecker/web.yml index b0bd9431f..8dcb47a51 100644 --- a/.woodpecker/web.yml +++ b/.woodpecker/web.yml @@ -1,3 +1,8 @@ +when: + - event: pull_request + - event: push + branch: [${CI_REPO_DEFAULT_BRANCH}, release/*] + variables: - &node_image 'node:18-alpine' - &when