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: |