From ec0bddde21d1e72c010f6e7847ff6c032b4cdabf Mon Sep 17 00:00:00 2001 From: MShekow Date: Sun, 21 May 2023 08:00:52 +0200 Subject: [PATCH] docs: mention tooling to retrieve installation token for GitHub platform (#22316) Co-authored-by: Rhys Arkins Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> --- lib/modules/platform/github/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/modules/platform/github/index.md b/lib/modules/platform/github/index.md index 6c06159d857b38..ece572d8bb957f 100644 --- a/lib/modules/platform/github/index.md +++ b/lib/modules/platform/github/index.md @@ -72,6 +72,12 @@ Any tokens that do not start with `ghs_` (for example tokens from GitHub Enterpr The installation tokens expire after 1 hour and need to be regenerated regularly. Alternatively as environment variable `RENOVATE_TOKEN`, or via CLI `--token=`. + +!!! tip "Third-party tools to regenerate installation tokens" + If you're self-hosting Renovate within a GitHub Actions workflow, then you can use the [`jnwng/github-app-installation-token-action`](https://github.com/jnwng/github-app-installation-token-action) or [`tibdex/github-app-token`](https://github.com/tibdex/github-app-token) actions. + If you use Node.js/CLI, then you can use the [`github-app-installation-token`](https://github.com/gagoar/github-app-installation-token) package. + If you use Docker, then you can use the [`mshekow/github-app-installation-token`](https://github.com/MShekow/github-app-installation-token) image. + **`repositories: ["orgname/repo-1","orgname/repo-2"]`** List of repositories to run on.