Add token to init-enterprise (#57246)

This commit is contained in:
Dimitris Sotirakis
2022-10-19 04:23:12 -04:00
committed by GitHub
parent 8949e574e6
commit f0b882ebad
2 changed files with 25 additions and 13 deletions
+4 -2
View File
@@ -111,8 +111,10 @@ def init_enterprise_step(ver_mode):
}
token = "--github-token $${GITHUB_TOKEN}"
elif ver_mode == 'release-branch':
environment = {}
token = ""
environment = {
'GITHUB_TOKEN': from_secret(github_token),
}
token = "--github-token $${GITHUB_TOKEN}"
else:
environment = {}
token = ""