Commit 86b91c04 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '344875-don-t-reuse-the-danger-token' into 'master'

ci: Don't reuse the Danger token in API scripts

See merge request gitlab-org/gitlab!73731
parents 0ceea035 ad17e561
......@@ -3,7 +3,7 @@
require 'gitlab'
gitlab_token = ENV.fetch('DANGER_GITLAB_API_TOKEN', '')
gitlab_token = ENV.fetch('PROJECT_TOKEN_FOR_CI_SCRIPTS_API_USAGE', '')
gitlab_endpoint = ENV.fetch('CI_API_V4_URL')
mr_project_path = ENV.fetch('CI_MERGE_REQUEST_PROJECT_PATH')
mr_iid = ENV.fetch('CI_MERGE_REQUEST_IID')
......
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