mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 03:22:05 -04: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:
parent
e062812c38
commit
2c90438583
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue