From 1f4b0a7a627409414b13d8fcac4009b8945842e4 Mon Sep 17 00:00:00 2001 From: Philipp Wagner Date: Thu, 2 Nov 2023 19:20:46 +0100 Subject: [PATCH] Authenticating with a GitHub App: Use non-deprecated syntax (#29682) Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> --- ...requests-with-a-github-app-in-a-github-actions-workflow.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow.md b/content/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow.md index 6e32865ca9..4bd6c992ae 100644 --- a/content/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow.md +++ b/content/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow.md @@ -51,8 +51,8 @@ jobs: id: generate_token uses: {% ifversion ghes < 3.12 %}tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92{% else %}actions/create-github-app-token@v1{% endif %} with: - app_id: {% raw %}${{ secrets.APP_ID }}{% endraw %} - private_key: {% raw %}${{ secrets.APP_PRIVATE_KEY }}{% endraw %} + app-id: {% raw %}${{ secrets.APP_ID }}{% endraw %} + private-key: {% raw %}${{ secrets.APP_PRIVATE_KEY }}{% endraw %} - name: Use the token env: