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
1 changed files with 21 additions and 0 deletions

View File

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