Skip to content

Commit f7f01c9

Browse files
authored
fix: parse private key before giving it to probot (#286)
1 parent 0b95431 commit f7f01c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/probot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createNodeMiddleware, Probot, createProbot } from 'probot';
44
const probot = createProbot({
55
overrides: {
66
appId: process.env.GITHUB_APP_ID,
7-
privateKey: process.env.GITHUB_APP_PRIVATE_KEY,
7+
privateKey: JSON.parse(`"${process.env.GITHUB_APP_PRIVATE_KEY}"`),
88
},
99
});
1010

0 commit comments

Comments
 (0)