From 5272339c36ee3f610f522565784414e3ac62796a Mon Sep 17 00:00:00 2001 From: Mark IJbema Date: Wed, 4 Mar 2026 13:26:31 +0100 Subject: [PATCH] ci: use BOT_PAT instead of GITHUB_TOKEN for visual regression tests --- .github/workflows/visual-regression.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/visual-regression.yml b/.github/workflows/visual-regression.yml index 13b7bf5fe3b..d57764c67c5 100644 --- a/.github/workflows/visual-regression.yml +++ b/.github/workflows/visual-regression.yml @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v4 with: lfs: true - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.BOT_PAT }} ref: ${{ github.head_ref }} - name: Setup Bun @@ -92,6 +92,8 @@ jobs: - name: Commit and push new baselines (if any) id: commit-baselines + env: + GH_TOKEN: ${{ secrets.BOT_PAT }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" @@ -132,7 +134,7 @@ jobs: uses: actions/checkout@v4 with: lfs: true - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.BOT_PAT }} ref: ${{ github.head_ref }} - name: Setup Bun @@ -186,6 +188,8 @@ jobs: - name: Commit and push new baselines (if any) id: commit-baselines-vscode + env: + GH_TOKEN: ${{ secrets.BOT_PAT }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com"