diff --git a/.github/workflows/create-gotoprod-pr.yml b/.github/workflows/create-gotoprod-pr.yml index 99d75eb9..583d12e2 100644 --- a/.github/workflows/create-gotoprod-pr.yml +++ b/.github/workflows/create-gotoprod-pr.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Generate GitHub App Token id: generate-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.SW_BOT_APP_ID }} private-key: ${{ secrets.SW_BOT_APP_PRIVATE_KEY }} diff --git a/.github/workflows/gh-release-please.yml b/.github/workflows/gh-release-please.yml index be4c5ae0..e1f45d12 100644 --- a/.github/workflows/gh-release-please.yml +++ b/.github/workflows/gh-release-please.yml @@ -46,7 +46,7 @@ jobs: steps: - name: Generate GitHub App Token id: generate-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.SW_BOT_APP_ID || secrets.SW_BOT_PUBLIC_APP_ID }} private-key: ${{ secrets.SW_BOT_APP_PRIVATE_KEY || secrets.SW_BOT_PUBLIC_APP_PRIVATE_KEY }}