diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index c6686bcb5..bce9024ab 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -27,11 +27,12 @@ jobs: run: ./update-flake.sh - name: Get access token - uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 id: generate-token with: app_id: ${{ secrets.LICENSING_APP_ID }} - installation_id: ${{ secrets.LICENSING_APP_INSTALLATION_ID }} + installation_retrieval_mode: "id" + installation_retrieval_payload: ${{ secrets.LICENSING_APP_INSTALLATION_ID }} private_key: ${{ secrets.LICENSING_APP_PRIVATE_KEY }} - name: Send pull request diff --git a/.github/workflows/update-webclient-prebuilt.yml b/.github/workflows/update-webclient-prebuilt.yml index 3de4472ec..4643c52c8 100644 --- a/.github/workflows/update-webclient-prebuilt.yml +++ b/.github/workflows/update-webclient-prebuilt.yml @@ -23,13 +23,14 @@ jobs: ./tool/go mod tidy - name: Get access token - uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0 + uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0 id: generate-token with: # TODO(will): this should use the code updater app rather than licensing. # It has the same permissions, so not a big deal, but still. app_id: ${{ secrets.LICENSING_APP_ID }} - installation_id: ${{ secrets.LICENSING_APP_INSTALLATION_ID }} + installation_retrieval_mode: "id" + installation_retrieval_payload: ${{ secrets.LICENSING_APP_INSTALLATION_ID }} private_key: ${{ secrets.LICENSING_APP_PRIVATE_KEY }} - name: Send pull request