Commit dddb154e 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.

(cherry picked from commit 2c904385)
parent 3dc4c81c
Pipeline #43421 canceled with stages
in 1 minute and 41 seconds
......@@ -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
......
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