mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-12 23:12:23 -06:00
ca23f2876c
The workflow_dispatch input is an arbitrary PR number, and the job used only headRefName to pick the checkout ref. For a fork PR that is a bare branch name that can collide with a branch in this repo, so the job (contents:write, ends in git push) would operate on that unrelated branch. Resolve isCrossRepository alongside headRefName and fail loudly unless the PR head lives in this repository.