Skip to content

Commit

Permalink
Don't run unnecessary steps when only docs changed (#23103)
Browse files Browse the repository at this point in the history
Remove some unnecessary steps from drone when only docs changed.

ref: https://drone.gitea.io/go-gitea/gitea/68090/1/3
  • Loading branch information
lunny authored Feb 27, 2023
1 parent 6e90a14 commit 725a97c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

steps:
- name: fetch-tags
Expand Down Expand Up @@ -1070,6 +1073,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

steps:
- name: fetch-tags
Expand Down Expand Up @@ -1298,6 +1304,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

steps:
- name: fetch-tags
Expand Down Expand Up @@ -1362,6 +1371,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

steps:
- name: fetch-tags
Expand Down Expand Up @@ -1424,6 +1436,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

steps:
- name: fetch-tags
Expand Down Expand Up @@ -1571,6 +1586,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

depends_on:
- docker-linux-amd64-release-version
Expand Down Expand Up @@ -1619,6 +1637,9 @@ trigger:
event:
exclude:
- cron
paths:
exclude:
- docs/**

depends_on:
- docker-linux-amd64-release
Expand Down

0 comments on commit 725a97c

Please sign in to comment.