Commit 1fb6525c authored by Andrejs Cunskis's avatar Andrejs Cunskis

E2E: Allow using separate github token for spec

parent 0f757067
...@@ -30,7 +30,10 @@ module QA ...@@ -30,7 +30,10 @@ module QA
builder.response(:logger, logger, headers: false, bodies: false) builder.response(:logger, logger, headers: false, bodies: false)
end 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 end
let(:gh_branches) { github_client.branches(github_repo).map(&:name) } 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