Commit f96a387a authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'acunskis-separate-gh-token' into 'master'

E2E: Allow using separate github token for spec

See merge request gitlab-org/gitlab!68242
parents 5f965193 1fb6525c
......@@ -30,7 +30,10 @@ module QA
builder.response(:logger, logger, headers: false, bodies: false)
end
Octokit::Client.new(access_token: Runtime::Env.github_access_token, auto_paginate: true)
Octokit::Client.new(
access_token: ENV['QA_LARGE_GH_IMPORT_GH_TOKEN'] || Runtime::Env.github_access_token,
auto_paginate: true
)
end
let(:gh_branches) { github_client.branches(github_repo).map(&:name) }
......
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