From 0bdc763129d8864ff36e36b414509428d2bfa89c Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 1 May 2026 14:28:52 -0700 Subject: [PATCH] chore(ci): bump actions to versions running on Node.js 24 GitHub is forcing JavaScript actions to Node 24 by default on 2026-06-02 and removing Node 20 from runners on 2026-09-16. - actions/create-github-app-token@v1 -> v3 - actions/github-script@v7 -> v8 --- .github/workflows/roll-next.yml | 4 ++-- .github/workflows/roll-stable.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/roll-next.yml b/.github/workflows/roll-next.yml index f367d623761..b68a55992e9 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 8c24de52574..fa1bc76b88f 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 }}