Next.js Discord

Discord Forum

Using GitHub issues via API for error reporting?

Unanswered
Rose-breasted Grosbeak posted this in #help-forum
Open in Discord
Rose-breasted GrosbeakOP
I'm sure it's not a new thing, basically I want to make an issue in a private repo via GitHub API (or CLI)

Making the issue is simple, what I wanna ask is.. how do I authenticate my app?

[GitHub apps](https://docs.github.com/en/apps/creating-github-apps/about-creating-github-apps/about-creating-github-apps) or OAuth app seems like an overkill.

It seems like [bot account with fine trained PAT](https://docs.github.com/en/apps/creating-github-apps/about-creating-github-apps/about-creating-github-apps) is the way to go, but it requires, well, making a new account for the organisation.

Is there any better way?

0 Replies