From baaa77d270557fee9217bd23ad0a666a105be314 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Fri, 22 Nov 2024 10:09:30 -0600 Subject: [PATCH] chore: fix github token issue on windows with v8 snapshot action --- .github/workflows/update_v8_snapshot_cache.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update_v8_snapshot_cache.yml b/.github/workflows/update_v8_snapshot_cache.yml index d5dce863ea1d..0c2454ec9554 100644 --- a/.github/workflows/update_v8_snapshot_cache.yml +++ b/.github/workflows/update_v8_snapshot_cache.yml @@ -122,6 +122,9 @@ jobs: id: check-number-of-existing-prs run: | echo "number_of_prs_for_branch=$(gh api '/repos/cypress-io/cypress/pulls?head=cypress-io:${{ env.BRANCH_NAME }}' --jq length)" >> $GITHUB_OUTPUT + env: + GH_TOKEN: ${{ secrets.BOT_GITHUB_ACTION_TOKEN }} + shell: bash - name: Check need for PR or branch update id: check-need-for-pr run: |