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.
Built from https://develop.svn.wordpress.org/trunk@60052


git-svn-id: http://core.svn.wordpress.org/trunk@59388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj
2025-03-19 12:32:26 +00:00
parent f283e36b50
commit 5a5edd03ef

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-beta3-60051';
$wp_version = '6.8-beta3-60052';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.