From 49f838d393bba7dd0c8b9fea35ee020e3d2faa9d Mon Sep 17 00:00:00 2001 From: Ron <45816308+rjaegers@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:16:02 +0200 Subject: [PATCH] ci: replace philips-software/app-token-action by actions/create-github-app-token (#507) --- .github/workflows/release-please.yml | 7 +++---- .github/workflows/update-dependencies.yml | 14 ++++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 32ef1c9b..c7cfcc38 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,12 +16,11 @@ jobs: create-release: runs-on: ubuntu-latest steps: - - uses: philips-software/app-token-action@9f5d57062c9f2beaffafaa9a34f66f824ead63a9 # v2.0.0 + - uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 id: token with: - app_id: ${{ secrets.FOREST_RELEASER_APP_ID }} - app_base64_private_key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY_BASE64 }} - auth_type: installation + app-id: ${{ vars.FOREST_RELEASER_APP_ID }} + private-key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY }} - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3 with: token: ${{ steps.token.outputs.token }} diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 57511ad7..1eae6845 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -29,12 +29,11 @@ jobs: id: update-packages with: input-file: .devcontainer/${{ matrix.flavor }}/apt-requirements-*.json - - uses: philips-software/app-token-action@9f5d57062c9f2beaffafaa9a34f66f824ead63a9 # v2.0.0 + - uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 id: token with: - app_id: ${{ secrets.FOREST_RELEASER_APP_ID }} - app_base64_private_key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY_BASE64 }} - auth_type: installation + app-id: ${{ vars.FOREST_RELEASER_APP_ID }} + private-key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY }} - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0 with: commit-message: "Update ${{ join(fromJson(steps.update-packages.outputs.updated-dependencies), ', ') }}" @@ -58,12 +57,11 @@ jobs: id: update-extensions with: input-file: .devcontainer/${{ matrix.flavor }}/devcontainer-metadata-vscode.json - - uses: philips-software/app-token-action@9f5d57062c9f2beaffafaa9a34f66f824ead63a9 # v2.0.0 + - uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 id: token with: - app_id: ${{ secrets.FOREST_RELEASER_APP_ID }} - app_base64_private_key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY_BASE64 }} - auth_type: installation + app-id: ${{ vars.FOREST_RELEASER_APP_ID }} + private-key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY }} - uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0 with: commit-message: "Update ${{ join(fromJson(steps.update-extensions.outputs.updated-dependencies), ', ') }}"