Skip to content

Commit e296301

Browse files
authored
VSTS prefers to pass secrets as command line params (microsoft#24041)
1 parent fd17f77 commit e296301

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ scripts/buildProtocol.js
4040
scripts/ior.js
4141
scripts/authors.js
4242
scripts/configurePrerelease.js
43+
scripts/open-user-pr.js
4344
scripts/processDiagnosticMessages.d.ts
4445
scripts/processDiagnosticMessages.js
4546
scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.js

scripts/open-user-pr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runSequence([
3333
const gh = new Octokit();
3434
gh.authenticate({
3535
type: "token",
36-
token: process.env.GH_TOKEN
36+
token: process.argv[2]
3737
});
3838
gh.pullRequests.create({
3939
owner: process.env.TARGET_FORK,

0 commit comments

Comments
 (0)