mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
Inject token into push like vsts does
This commit is contained in:
parent
d990f294f8
commit
8a0aa99327
@ -27,7 +27,7 @@ runSequence([
|
||||
["git", ["add", "."]], // Add all changes
|
||||
["git", ["commit", "-m", `"Update user baselines"`]], // Commit all changes
|
||||
["git", ["remote", "add", "fork", remoteUrl]], // Add the remote fork
|
||||
["git", ["push", "--set-upstream", "fork", branchName]] // push the branch
|
||||
["git", ["-c", `http.extraheader="AUTHORIZATION: basic ${process.argv[2]}"`, "push", "--set-upstream", "fork", branchName]] // push the branch
|
||||
]);
|
||||
|
||||
const gh = new Octokit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user