Don't run unnecessary steps when only docs changed (#23103)

Remove some unnecessary steps from drone when only docs changed.

ref: https://drone.gitea.io/go-gitea/gitea/68090/1/3
pull/23135/head^2
Lunny Xiao 2 years ago committed by GitHub
parent 6e90a1459b
commit 725a97c6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      .drone.yml

@ -1006,6 +1006,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
steps:
- name: fetch-tags
@ -1070,6 +1073,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
steps:
- name: fetch-tags
@ -1298,6 +1304,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
steps:
- name: fetch-tags
@ -1362,6 +1371,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
steps:
- name: fetch-tags
@ -1424,6 +1436,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
steps:
- name: fetch-tags
@ -1571,6 +1586,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
depends_on:
- docker-linux-amd64-release-version
@ -1619,6 +1637,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**
depends_on:
- docker-linux-amd64-release

Loading…
Cancel
Save