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

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

No files matched your search

+1 -1
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,