VSTS prefers to pass secrets as command line params (#24041)

This commit is contained in:
Wesley Wigham
2018-05-10 15:37:44 -07:00
committed by GitHub
parent fd17f77cc9
commit e296301c09
2 changed files with 2 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ runSequence([
const gh = new Octokit();
gh.authenticate({
type: "token",
token: process.env.GH_TOKEN
token: process.argv[2]
});
gh.pullRequests.create({
owner: process.env.TARGET_FORK,