chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs
https://kodiakhq.com
GNU Affero General Public License v3.0
1.03k stars 65 forks source link

resource not accessible by integration #776

Closed chdsbd closed 2 years ago

chdsbd commented 2 years ago

A user reported that Kodiak wasn't working on their repository: https://github.com/chdsbd/kodiak/issues/774#issuecomment-1009258955

In my testing it seems like some GitHub setting is blocking Kodiak from creating check-runs on the repository with a 403 error of "resource not accessible by integration". My hunch is that there's some bad integration with GitHub Actions and maybe Forks.

chdsbd commented 2 years ago

I haven't been able to replicate this issue. I tried cloning the vercel/turborepo repository, but Kodiak worked there: https://github.com/chdsbd/turborepo-kodiak-reproduction/pull/6

chdsbd commented 2 years ago

Using the "Get a repository installation for the authenticated app" endpoint, I'm getting a 404 error for turborepo.

GET https://api.github.com/repos/vercel/turborepo/installation
{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app"
}

I don't get this error on vercel/next.js

chdsbd commented 2 years ago

I think Kodiak isn't installed on vercel/turborepo.