Commit 45d85ccb authored by Albert Salim's avatar Albert Salim

Merge branch '337779-find-tests' into 'master'

Request against CI_API_V4_URL than GitLab.com

See merge request gitlab-org/gitlab!67617
parents b8d4915b d8085824
......@@ -5,9 +5,10 @@ require 'gitlab'
require 'test_file_finder'
gitlab_token = ENV.fetch('DANGER_GITLAB_API_TOKEN', '')
gitlab_endpoint = ENV.fetch('CI_API_V4_URL')
Gitlab.configure do |config|
config.endpoint = 'https://gitlab.com/api/v4'
config.endpoint = gitlab_endpoint
config.private_token = gitlab_token
end
......
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