mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
Run workflows only for PRs and master (#1983)
fix #1980 --------- Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
parent
8d62578846
commit
308d88fae5
4 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: [${CI_REPO_DEFAULT_BRANCH}, release/*]
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
- web
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: [${CI_REPO_DEFAULT_BRANCH}, release/*]
|
||||
|
||||
variables:
|
||||
- &golang_image 'golang:1.20.2'
|
||||
- &when
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: [${CI_REPO_DEFAULT_BRANCH}, release/*]
|
||||
|
||||
variables:
|
||||
- &node_image 'node:18-alpine'
|
||||
- &when
|
||||
|
|
Loading…
Reference in a new issue