From b17152d8e22741558d3b51e5129d5308f3b60f2d Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 3 Jun 2026 10:05:42 -0700 Subject: [PATCH 1/3] chore(ci): bump checkout and setup-node to v5 Silences the Node.js 20 deprecation warning by upgrading actions/checkout and actions/setup-node to v5 (Node.js 24). --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/roll-next.yml | 6 +++--- .github/workflows/roll-stable.yml | 6 +++--- .github/workflows/tests.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c60a12cba5b..0c9436a626c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,8 +18,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 with: node-version: 22 - name: Setup Pages diff --git a/.github/workflows/roll-next.yml b/.github/workflows/roll-next.yml index b68a55992e9..51e253edf2f 100644 --- a/.github/workflows/roll-next.yml +++ b/.github/workflows/roll-next.yml @@ -11,12 +11,12 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - uses: actions/checkout@v5 with: repository: 'microsoft/playwright' path: playwright - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 - name: Install dependencies diff --git a/.github/workflows/roll-stable.yml b/.github/workflows/roll-stable.yml index fa1bc76b88f..bb41aab3a93 100644 --- a/.github/workflows/roll-stable.yml +++ b/.github/workflows/roll-stable.yml @@ -25,13 +25,13 @@ jobs: }); return relevantBranches.pop().name.replace(/^release-/, ''); result-encoding: string - - uses: actions/checkout@v4 - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - uses: actions/checkout@v5 with: repository: 'microsoft/playwright' path: playwright ref: 'release-${{ steps.determine-version.outputs.result }}' - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: 22 - name: Install dependencies diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ade4df17c3e..43b92e4f0b2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: image: mcr.microsoft.com/playwright:v1.59.0-noble options: --user 1001 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install dependencies run: npm ci - name: Build site From 4fd8e07bbfcad54fd5a030550930277628a19736 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 3 Jun 2026 10:13:28 -0700 Subject: [PATCH 2/3] chore(ci): use client-id for create-github-app-token Replaces the deprecated app-id input with client-id, sourced from the PLAYWRIGHT_CLIENT_ID repo variable. --- .github/workflows/roll-next.yml | 2 +- .github/workflows/roll-stable.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/roll-next.yml b/.github/workflows/roll-next.yml index 51e253edf2f..7ecbdd739d1 100644 --- a/.github/workflows/roll-next.yml +++ b/.github/workflows/roll-next.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/create-github-app-token@v3 id: app-token with: - app-id: ${{ vars.PLAYWRIGHT_APP_ID }} + client-id: ${{ vars.PLAYWRIGHT_CLIENT_ID }} private-key: ${{ secrets.PLAYWRIGHT_PRIVATE_KEY }} - name: Create Pull Request uses: actions/github-script@v8 diff --git a/.github/workflows/roll-stable.yml b/.github/workflows/roll-stable.yml index bb41aab3a93..4f49c9851cc 100644 --- a/.github/workflows/roll-stable.yml +++ b/.github/workflows/roll-stable.yml @@ -72,7 +72,7 @@ jobs: - uses: actions/create-github-app-token@v3 id: app-token with: - app-id: ${{ vars.PLAYWRIGHT_APP_ID }} + client-id: ${{ vars.PLAYWRIGHT_CLIENT_ID }} private-key: ${{ secrets.PLAYWRIGHT_PRIVATE_KEY }} - name: Check for existing Pull Request id: check-pr From 91d2e1c5ed933cb33c133e2e4a38cc7494bb73d8 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 3 Jun 2026 10:14:31 -0700 Subject: [PATCH 3/3] chore(ci): bump github-script to v8 in roll-stable The determine-version step still used github-script@v7 (Node.js 20). --- .github/workflows/roll-stable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/roll-stable.yml b/.github/workflows/roll-stable.yml index 4f49c9851cc..2b38ad2364a 100644 --- a/.github/workflows/roll-stable.yml +++ b/.github/workflows/roll-stable.yml @@ -9,7 +9,7 @@ jobs: name: Build runs-on: ubuntu-24.04 steps: - - uses: actions/github-script@v7 + - uses: actions/github-script@v8 id: determine-version with: script: |