mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-23 01:40:23 -05: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.
(cherry picked from commit 2c90438583)
This commit is contained in:
parent
3dc4c81cad
commit
dddb154ec7
1 changed files with 4 additions and 1 deletions
|
|
@ -428,7 +428,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