2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Only run Danger if DANGER_GITLAB_API_TOKEN is set

Prevent the Danger GitLab CI job from failing when the GitLab API key to
use is not set.
This commit is contained in:
Michał Kępień
2020-06-03 15:45:28 +02:00
parent e062812c38
commit 2c90438583

View File

@@ -427,7 +427,10 @@ danger:
script:
- danger-python ci -f
only:
- merge_requests
refs:
- merge_requests
variables:
- $DANGER_GITLAB_API_TOKEN
flake8:
<<: *default_triggering_rules