Skip to content

Commit

Permalink
docs(github): change GitHub App token Action suggested to GitHub offi…
Browse files Browse the repository at this point in the history
…cial (#815)
  • Loading branch information
froblesmartin committed Feb 7, 2024
1 parent 74d1c5d commit 6e1e63a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit 6e1e63a

Please sign in to comment.