Skip DB tests duplicate runs on push to branches (#23476)
This skips all testing-* pipelines on push to main or release/* branches. This decreases the total build time on those, as in theory they should already be run for PRs before merging. Fixes https://github.com/go-gitea/gitea/issues/22011 --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
69c9ab387f
commit
f96eef872f
1 changed files with 3 additions and 15 deletions
18
.drone.yml
18
.drone.yml
|
@ -9,8 +9,6 @@ platform:
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- tag
|
|
||||||
- pull_request
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -180,8 +178,6 @@ depends_on:
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- tag
|
|
||||||
- pull_request
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -285,8 +281,6 @@ depends_on:
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- tag
|
|
||||||
- pull_request
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -449,8 +443,6 @@ depends_on:
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- tag
|
|
||||||
- pull_request
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -538,8 +530,6 @@ depends_on:
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- tag
|
|
||||||
- pull_request
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -627,8 +617,6 @@ depends_on:
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
|
||||||
- tag
|
|
||||||
- pull_request
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -1477,7 +1465,7 @@ steps:
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: docker-linux-amd64-dry-run
|
name: docker-linux-arm64-dry-run
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -1487,8 +1475,8 @@ depends_on:
|
||||||
- compliance
|
- compliance
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
event:
|
||||||
- "refs/pull/**"
|
- pull_request
|
||||||
paths:
|
paths:
|
||||||
exclude:
|
exclude:
|
||||||
- docs/**
|
- docs/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue