We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3c682e commit a66f25bCopy full SHA for a66f25b
src/commands/fix/pnpm-fix.ts
@@ -93,7 +93,9 @@ async function createPullRequest({
93
base?: string
94
body?: string
95
}) {
96
- const octokit = new Octokit({ auth: process.env['GITHUB_TOKEN'] })
+ const octokit = new Octokit({
97
+ auth: process.env['SOCKET_AUTOFIX_PAT'] ?? process.env['GITHUB_TOKEN']
98
+ })
99
await octokit.pulls.create({
100
owner,
101
repo,
0 commit comments