From 917aaca99125c0c05e002a6f85c8754517506f6e Mon Sep 17 00:00:00 2001 From: Lucas Meurer Date: Wed, 8 Oct 2025 17:49:29 +0200 Subject: [PATCH] Use custom github token for commiting snapshots (#7611) ... to ensure that workflows are run --- .github/workflows/update_kittest_snapshots.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_kittest_snapshots.yml b/.github/workflows/update_kittest_snapshots.yml index e0638238..9c67c52a 100644 --- a/.github/workflows/update_kittest_snapshots.yml +++ b/.github/workflows/update_kittest_snapshots.yml @@ -23,7 +23,9 @@ jobs: lfs: true # We can't use the workflow token since that would prevent our commit to cause further workflows. # See https://github.com/stefanzweifel/git-auto-commit-action#commits-made-by-this-action-do-not-trigger-new-workflow-runs - token: '${{ secrets.GITHUB_TOKEN }}' + # This token should be a personal access token with at least Read and write permission to `Contents`. + # The commit action below will use the token this the code was checked out with. + token: '${{ secrets.SNAPSHOT_COMMIT_GITHUB_TOKEN }}' - name: Accept snapshots env: