summaryrefslogtreecommitdiff
path: root/scripts/setup/find-jh-branch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setup/find-jh-branch.rb')
-rwxr-xr-xscripts/setup/find-jh-branch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setup/find-jh-branch.rb b/scripts/setup/find-jh-branch.rb
index 5b36aa7a1f4..67e83423d9c 100755
--- a/scripts/setup/find-jh-branch.rb
+++ b/scripts/setup/find-jh-branch.rb
@@ -92,7 +92,7 @@ class FindJhBranch
def gitlab
@gitlab ||= Gitlab.client(
endpoint: API::DEFAULT_OPTIONS[:endpoint],
- private_token: API::DEFAULT_OPTIONS[:api_token] || ''
+ private_token: ENV['ADD_JH_FILES_TOKEN'] || ''
)
end
end