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:
@@ -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
|
||||
|
Reference in New Issue
Block a user