From 6e1e63a1cb0ff1ec263fd13fee2e2c3246c1d8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Robles=20Mart=C3=ADn?= Date: Wed, 7 Feb 2024 06:53:22 -0500 Subject: [PATCH] docs(github): change GitHub App token Action suggested to GitHub official (#815) --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8ff8e8db..dcf87d4b 100644 --- a/README.md +++ b/README.md @@ -304,7 +304,7 @@ Generate and download a new private key for the app, adding the contents of the Adjust your Renovate configuration file to specify the username of your bot. -Going forward we will be using the [`tibdex/github-app-token` action](https://github.com/tibdex/github-app-token) in order to exchange the GitHub App certificate for an access token that Renovate can use. +Going forward we will be using the [`actions/create-github-app-token` action](https://github.com/actions/create-github-app-token) in order to exchange the GitHub App certificate for an access token that Renovate can use. The final workflow will look like this: @@ -321,10 +321,12 @@ jobs: steps: - name: Get token id: get_token - uses: tibdex/github-app-token@v1 + uses: actions/create-github-app-token@v1 with: - private_key: ${{ secrets.private_key }} - app_id: ${{ secrets.app_id }} + private-key: ${{ secrets.private_key }} + app-id: ${{ secrets.app_id }} + owner: ${{ github.repository_owner }} + repositories: 'repo1,repo2' - name: Checkout uses: actions/checkout@v4.1.1