Commit 4287e70e authored by Rémy Coutable's avatar Rémy Coutable

Merge branch...

Merge branch '355898-supply-danger_id-when-running-danger-so-danger-accounts-don-t-step-on-each-others' into 'master'

Use --danger-id when running Danger

See merge request gitlab-org/gitlab!83127
parents 8b37e510 4c06230a
......@@ -55,7 +55,8 @@ danger-review:
if [ -z "$DANGER_GITLAB_API_TOKEN" ]; then
run_timed_command danger_as_local
else
run_timed_command "bundle exec danger --fail-on-errors=true --verbose"
danger_id=$(echo -n ${DANGER_GITLAB_API_TOKEN} | md5sum | awk '{print $1}' | cut -c5-10)
run_timed_command "bundle exec danger --fail-on-errors=true --verbose --danger_id=${danger_id}"
fi
danger-review-local:
......
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