diff options
author | Jonathan Desrosiers <desrosj@git.wordpress.org> | 2025-03-19 12:30:39 +0000 |
---|---|---|
committer | Jonathan Desrosiers <desrosj@git.wordpress.org> | 2025-03-19 12:30:39 +0000 |
commit | 43a3e84d18f49bdc0b7f29be9878e376597bdf0e (patch) | |
tree | fb583455916e032f0f5d7601c47a4db70f081588 /src | |
parent | 741464ae7697c1c562cc2bf82129becf88dfc820 (diff) | |
download | wordpress-43a3e84d18f49bdc0b7f29be9878e376597bdf0e.tar.gz wordpress-43a3e84d18f49bdc0b7f29be9878e376597bdf0e.zip |
Build/Test Tools: Use ‘pull_request.head.ref` when checking built files.
Because `pull_request_target` happens in the context of the base branch, attempting to checkout `github.head_ref` results in a failure when the workflow comes from a fork.
This adjusts the options passed to `actions/checkout` to use the repository that actually contains the test branch.
See #62221.
git-svn-id: https://develop.svn.wordpress.org/trunk@60052 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions