Run workflows only for PRs and master (#1983)

fix #1980

---------

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Patrick Schratz 2023-07-12 23:25:05 +02:00 committed by GitHub
parent 8d62578846
commit 308d88fae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,8 @@
when:
- event: pull_request
- event: push
branch: [${CI_REPO_DEFAULT_BRANCH}, release/*]
depends_on:
- test
- web

View file

@ -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'

View file

@ -1,3 +1,8 @@
when:
- event: pull_request
- event: push
branch: [${CI_REPO_DEFAULT_BRANCH}, release/*]
variables:
- &golang_image 'golang:1.20.2'
- &when

View file

@ -1,3 +1,8 @@
when:
- event: pull_request
- event: push
branch: [${CI_REPO_DEFAULT_BRANCH}, release/*]
variables:
- &node_image 'node:18-alpine'
- &when