[wp-trac] [WordPress Trac] #62221: GitHub Actions updates and improvements for 6.8
WordPress Trac
noreply at wordpress.org
Wed Mar 19 12:30:54 UTC 2025
#62221: GitHub Actions updates and improvements for 6.8
--------------------------------------+-----------------------
Reporter: desrosj | Owner: desrosj
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 6.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------
Comment (by desrosj):
In [changeset:"60052" 60052]:
{{{
#!CommitTicketReference repository="" revision="60052"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62221#comment:143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list