Commit 2c904385 authored by Michał Kępień's avatar Michał Kępień
Browse files

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.
parent e062812c
Pipeline #43415 canceled with stages
in 3 minutes and 29 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment