Skip to content
代码片段 群组 项目
提交 86b91c04 编辑于 作者: 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
No related branches found
No related tags found
无相关合并请求
......@@ -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')
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册