Improve drone trigger and clone (#2236)
continuous-integration/drone/push Build is passing Details

Co-authored-by: Max Mehl <max.mehl@fsfe.org>
Co-committed-by: Max Mehl <max.mehl@fsfe.org>
pull/2237/head
Max Mehl 2021-10-25 10:21:30 +00:00
parent 4a916aa319
commit 569180dea0
1 changed files with 9 additions and 5 deletions

View File

@ -3,7 +3,7 @@ type: docker
name: default
clone:
depth: 50
depth: 150
steps:
- name: syntaxcheck
@ -11,7 +11,11 @@ steps:
commands:
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
- bash tools/check-non-en-frontpage.sh news
when:
branch:
- master
- test
trigger:
branch:
- master
- test
event:
- push
- pull_request