ci: use BOT_PAT instead of GITHUB_TOKEN for visual regression tests

This commit is contained in:
Mark IJbema
2026-03-05 14:10:15 +01:00
parent 1c23b4f772
commit 5272339c36
+6 -2
View File
@@ -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"