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
This commit is contained in:
Lunny Xiao 2023-02-28 06:20:42 +08:00 committed by GitHub
parent 6e90a1459b
commit 725a97c6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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