{"repo":"actions/create-github-app-token","free":true,"listed":false,"github":"https://github.com/actions/create-github-app-token","clone":"git clone https://github.com/actions/create-github-app-token.git","description":"GitHub Action for creating a GitHub App Installation Access Token","language":"JavaScript","stars":876,"topics":["github-actions","automation","tokens","hacktoberfest"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Create GitHub App Token GitHub Action for creating a GitHub App installation access token. Usage In order to use this action, you need to: 1. Register new GitHub App. 2. Store the App's Client ID in your repository variables (example: APP CLIENT ID ). 3. Store the App's private key in your repository secrets (example: APP PRIVATE KEY ). [!IMPORTANT] An installation access token expires after 1 hour. Please see this comment for alternative approaches if you have long-running processes. Create a token for the current repository Use app token with actions/checkout Create a Git committer string for an app installation Configure Git CLI for an app's bot user [!TIP] The is the numeric user ID of the app's bot user, which can be found under https://api.github.com/users/ %5Bbot%5D . For example, we can check at https://api.github.com/users/dependabot[bot] to see the user ID of Dependabot is 49699333. Alternatively, you can use the octokit/request-action to get the ID. Create a token for all repositories in the current owner's installation Create a token for multiple repositories in the current owner's installation You can include the current repository in the list with ${{ github.repository }} : Create a token for all repositories in another owner's installation Create a token for an enterprise installation Create a token with specific permissions [!NOTE] Selected permissions must be granted to the specified app installation. Setting a permission that the installation does not have w","default_branch":null,"files":null,"tree":[],"storefront":"/r/actions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/actions/create-github-app-token/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}