github-app-token
is a simple CLI tool that generates an app token so that you can authenticate as a GitHub App.
-
Set the necessary secrets as environment variables:
GITHUB_APP_ID
GITHUB_APP_PRIVATE_KEY
-
Run
github-app-token
and the generated token will be emitted to stdout.
- If using in GitHub Actions, use tibdex/github-app-token