diff --git a/.github/actions/approval/action.yml b/.github/actions/approval/action.yml index 3593b7ed..e9a642c9 100644 --- a/.github/actions/approval/action.yml +++ b/.github/actions/approval/action.yml @@ -10,7 +10,7 @@ runs: steps: - name: Generate token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ env.GH_APPROVAL_APP_ID }} private_key: ${{ env.GH_APPROVAL_APP_PKEY }} diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 25cfd2d9..af5c31f6 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -215,7 +215,7 @@ jobs: - name: Generate token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 if: github.ref == 'refs/heads/main' && github.event_name == 'push' with: app_id: ${{ secrets.GH_APPROVAL_APP_ID }}