From 0fd38177ed30e541bb33920ec93084ea48e27968 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Tue, 11 Jun 2024 20:56:57 -0700 Subject: [PATCH] docs(README): add note about expiration (#141) addresses https://github.com/actions/create-github-app-token/issues/121#issuecomment-2043214796 Co-authored-by: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cb88140..57c2021 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ In order to use this action, you need to: 2. [Store the App's ID in your repository environment variables](https://docs.github.com/actions/learn-github-actions/variables#defining-configuration-variables-for-multiple-workflows) (example: `APP_ID`) 3. [Store the App's private key in your repository secrets](https://docs.github.com/actions/security-guides/encrypted-secrets?tool=webui#creating-encrypted-secrets-for-a-repository) (example: `PRIVATE_KEY`) +> [!IMPORTANT] +> An installation access token expires after 1 hour. Please [see this comment](https://github.com/actions/create-github-app-token/issues/121#issuecomment-2043214796) for alternative approaches if you have long-running processes. + ### Create a token for the current repository ```yaml