diff --git a/.github/workflows/roll-next.yml b/.github/workflows/roll-next.yml index f367d62376..b68a55992e 100644 --- a/.github/workflows/roll-next.yml +++ b/.github/workflows/roll-next.yml @@ -47,13 +47,13 @@ jobs: git add . git commit -m "feat(roll): roll to ToT Playwright ($(date +"%d-%m-%y"))" git push origin $BRANCH_NAME --force - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v3 id: app-token with: app-id: ${{ vars.PLAYWRIGHT_APP_ID }} private-key: ${{ secrets.PLAYWRIGHT_PRIVATE_KEY }} - name: Create Pull Request - uses: actions/github-script@v7 + uses: actions/github-script@v8 if: ${{ steps.prepare-branch.outputs.HAS_CHANGES == '1' }} with: github-token: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/roll-stable.yml b/.github/workflows/roll-stable.yml index 8c24de5257..fa1bc76b88 100644 --- a/.github/workflows/roll-stable.yml +++ b/.github/workflows/roll-stable.yml @@ -69,14 +69,14 @@ jobs: git add "**/versions.json" git commit -m "feat(roll): roll to $VERSION Playwright" git push origin $BRANCH_NAME --force - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v3 id: app-token with: app-id: ${{ vars.PLAYWRIGHT_APP_ID }} private-key: ${{ secrets.PLAYWRIGHT_PRIVATE_KEY }} - name: Check for existing Pull Request id: check-pr - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ steps.app-token.outputs.token }} script: | @@ -89,7 +89,7 @@ jobs: return pullRequests.length > 0 ? 'true' : 'false'; result-encoding: string - name: Create Pull Request - uses: actions/github-script@v7 + uses: actions/github-script@v8 if: ${{ steps.prepare-branch.outputs.HAS_CHANGES == '1' && steps.check-pr.outputs.result == 'false' }} with: github-token: ${{ steps.app-token.outputs.token }}