diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-03-14 21:46:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 21:46:13 -0400 |
commit | f96eef872f2500e8610b6c6c244121643bf4951f (patch) | |
tree | 0c904a224aedb11627860038ab5025140b7967e3 | |
parent | 69c9ab387f2db4eab29749480ca21206de75e77a (diff) | |
download | gitea-f96eef872f2500e8610b6c6c244121643bf4951f.tar.gz gitea-f96eef872f2500e8610b6c6c244121643bf4951f.zip |
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>
-rw-r--r-- | .drone.yml | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/.drone.yml b/.drone.yml index 2bcf494d91..08b64b2388 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,6 @@ platform: trigger: event: - - push - - tag - pull_request paths: exclude: @@ -180,8 +178,6 @@ depends_on: trigger: event: - - push - - tag - pull_request paths: exclude: @@ -285,8 +281,6 @@ depends_on: trigger: event: - - push - - tag - pull_request paths: exclude: @@ -449,8 +443,6 @@ depends_on: trigger: event: - - push - - tag - pull_request paths: exclude: @@ -538,8 +530,6 @@ depends_on: trigger: event: - - push - - tag - pull_request paths: exclude: @@ -627,8 +617,6 @@ depends_on: trigger: event: - - push - - tag - pull_request paths: exclude: @@ -1477,7 +1465,7 @@ steps: --- kind: pipeline type: docker -name: docker-linux-amd64-dry-run +name: docker-linux-arm64-dry-run platform: os: linux @@ -1487,8 +1475,8 @@ depends_on: - compliance trigger: - ref: - - "refs/pull/**" + event: + - pull_request paths: exclude: - docs/** |