From a7a4994e002ba4d6312e3289a17ba285b2164d3b Mon Sep 17 00:00:00 2001 From: Jens H Date: Wed, 9 Nov 2022 23:51:36 +0100 Subject: [PATCH] Update README with app token timeout limits (#42) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 96674cf..085854b 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ If you want to have `approvers` set to an org team, then you need to take a diff Create a GitHub App with **read-only access to organization members**. Once the app is created, add a repo secret with the app ID. In the GitHub App settings, generate a private key and add that as a secret in the repo as well. You can get the app token by using the [`tibdex/github-app-token`](https://github.com/tibdex/github-app-token) GitHub Action: +*Note: The GitHub App tokens expire after 1 hour which implies duration for the approval cannot exceed 60 minutes or the job will fail due to bad credentials. See [docs](https://docs.github.com/en/rest/apps/apps#create-an-installation-access-token-for-an-app).* + ```yaml jobs: myjob: