-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hello,
thanks for the adapter, it works pretty well. I know that in the docs it is mentioned that:
You cannot authenticate as the app.
[..] you cannot create new tokens or renew the provided one. [...] You could provide a personal access token instead of secrets.GITHUB_TOKEN to workaround the limits of a repository-scoped token, but be sure you know what you are doing.
however I wonder if it really wouldn't be possible to enhance adapter (or create extra add-on to it) and allow to pass APP_ID
, PRIVATE_KEY
via env instead of GITHUB_TOKEN
which would generate app installation token first and then use it in requests?
There are some solutions that offer such thing. I've tested navikt/github-app-token-generator@v1 and it allowed me to authenticate as app. You can check that it worked here. It used following workflow.
It would be awesome if Probot's supported it (authetication via app installation token) internally π