<#2304 fix: allow unsafe fork PR checkout in test ...
# hub-repo-activity
g
#2304 fix: allow unsafe fork PR checkout in test dispatcher Pull request opened by edgarrmondragon Summary •
actions/checkout
v7 (#2286) now blocks checking out a fork PR's head SHA under `pull_request_target`/`workflow_run` by default, which broke community plugin submissions like #2295. •
test_dispatcher.yml
needs to check out the fork's head to read the changed plugin manifest, so this opts back in via
allow-unsafe-pr-checkout: true
on both checkout steps. • This is safe here: the job only parses YAML with
yq
and diffs filenames — it never builds or executes fork code — and both steps already use
persist-credentials: false
with read-only job permissions (
contents: read
,
pull-requests: read
). Fixes #2295 Test plan • Confirm
test_dispatcher.yml
runs successfully on a fork PR touching
_data/meltano/*/*/*.yml
(e.g. re-trigger #2295) meltano/hub