Github won't allow write access on PRs from a fork for security reasons, unless you use the special pull_request_target trigger which then runs in the context of the target and not of the PR.
So we copy the trusted script from the target (master) to /tmp, then checkout the PR, then run the script from /tmp
Github won't allow write access on PRs from a fork for security reasons, unless you use the special pull_request_target trigger which then runs in the context of the target and not of the PR.
So we copy the trusted script from the target (master) to /tmp, then checkout the PR, then run the script from /tmp