From 6fb221faebe5cd83b32e77b06439972d06772ca1 Mon Sep 17 00:00:00 2001 From: "Louis.z" Date: Wed, 18 Sep 2024 11:49:48 +0800 Subject: [PATCH] docs: add warnings for GitHub app (#786) Co-authored-by: Startrekzky --- docs/Configuration/GitHub.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Configuration/GitHub.md b/docs/Configuration/GitHub.md index 8af9b255605..9191edc0914 100644 --- a/docs/Configuration/GitHub.md +++ b/docs/Configuration/GitHub.md @@ -60,7 +60,13 @@ The token should be granted read-only permission for the following entities. - `Pull requests` -##### GitHub Apps +##### GitHub Apps (beta) +:::caution + +The GitHub App token expires every hour and does not auto-renew. To collect data from large repositories, please use the [Personal Access Token](#github-personal-access-tokensrecommended) for authentication. + +::: + Learn about [how to create a GitHub Apps](https://docs.github.com/en/apps/maintaining-github-apps/modifying-a-github-app-registration#navigating-to-your-github-app-settings). The following permissions are required to collect data from repositories: - Repository - Actions