Spaces:
Paused
Paused
fix(auth): change auth type from 'token' to 'installation' for Probot compatibility
Browse files- src/checkout.ts +1 -1
src/checkout.ts
CHANGED
|
@@ -28,7 +28,7 @@ export const checkoutRepo = async (
|
|
| 28 |
}
|
| 29 |
|
| 30 |
const {token} = (await ctx.probotContext.octokit.auth({
|
| 31 |
-
type: '
|
| 32 |
})) as any
|
| 33 |
|
| 34 |
if (!token) {
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
const {token} = (await ctx.probotContext.octokit.auth({
|
| 31 |
+
type: 'installation'
|
| 32 |
})) as any
|
| 33 |
|
| 34 |
if (!token) {
|