We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3036c50 commit b6b7b0bCopy full SHA for b6b7b0b
src/commands/fix/pnpm-fix.ts
@@ -258,6 +258,13 @@ export async function pnpmFix(
258
const commitMsg = `fix: upgrade ${name} to ${targetVersion}`
259
const { owner, repo } = getRepoInfo()
260
// eslint-disable-next-line no-await-in-loop
261
+ await spawn('git', [
262
+ 'remote',
263
+ 'set-url',
264
+ 'origin',
265
+ `https://x-access-token:${process.env['SOCKET_AUTOFIX_PAT']}@github.com/${owner}/${repo}`
266
+ ], { cwd })
267
+ // eslint-disable-next-line no-await-in-loop
268
await commitAndPushFix(branchName, commitMsg, cwd)
269
270
await createPullRequest({
0 commit comments