Skip to content

v686: Replace pull_request_target workflow and harden preview deploy (#1077)

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 17:12
ad6c8a7
GitHub blocks pull_request_target in public repositories by default from
December 2, 2026. Move the "Deploying PR Preview" sticky comment from
preview-start.yml into preview-deploy.yml, triggered by the workflow_run
requested event, and delete preview-start.yml.

Also validate PR_NUMBER and PR_SHA read from the untrusted preview-build
artifact, and pass step outputs and secrets to scripts through env
instead of inline expressions. This closes a script injection path that
exposed SURGE_TOKEN to fork pull requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED