Improve drone trigger and clone (#2236)
All checks were successful
continuous-integration/drone/push Build is passing

Co-authored-by: Max Mehl <max.mehl@fsfe.org>
Co-committed-by: Max Mehl <max.mehl@fsfe.org>
This commit was merged in pull request #2236.
This commit is contained in:
2021-10-25 10:21:30 +00:00
parent 4a916aa319
commit 569180dea0

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