We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48886e4 commit a177e4dCopy full SHA for a177e4d
src/commands/fix/pnpm-fix.ts
@@ -296,7 +296,7 @@ export async function pnpmFix(
296
'remote',
297
'set-url',
298
'origin',
299
- `https://x-access-token:${process.env['SOCKET_AUTOFIX_PAT']}@github.com/${owner}/${repo}`
+ `https://x-access-token:${process.env['SOCKET_AUTOFIX_PAT'] ?? process.env['GITHUB_TOKEN']}@github.com/${owner}/${repo}`
300
],
301
{ cwd }
302
)
0 commit comments