ci: grant actions:read for Playwright validate wait on PRs

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-10-08 01:48:33 +00:00
parent 68134518fc
commit de2a9376a8
No known key found for this signature in database

View File

@ -65,10 +65,9 @@ jobs:
if: github.event_name == 'pull_request'
env:
GH_TOKEN: ${{ github.token }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
set -euo pipefail
sha="${HEAD_SHA:-$GITHUB_SHA}"
sha="${GITHUB_SHA}"
echo "Waiting for publish-server-image on ${sha} before starting Vite…"
for attempt in $(seq 1 120); do
run_id="$(gh run list --repo "${GITHUB_REPOSITORY}" --commit "${sha}" \