[BUG]: Resource not accessible by integration
using git.createRef()
octokit api method
#2738
Closed
1 task done
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
What happened?
Hey, im searching for a way to act on behalf user repositories from github app using octokit, for the moment I've assigned my githubapp write and read rights to the github repostiories of users who authorize my app and I'm able to generate access tokens for users using https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app flow.
I have no problem listing repositories from this token, but as soon as I use the createRef() from octokit api method to create a new branch from main branche i have this error Resource not accessible by integration even though I've given the appropriate rights ↓
Versions
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: