Rachit-Tw commited on
Commit
fa118e5
·
1 Parent(s): b04ddc5

fix(auth): change auth type from 'token' to 'installation' for Probot compatibility

Browse files
Files changed (1) hide show
  1. 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: 'token'
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) {