Keeping your GitHub Actions and workflows secure: Preventing pwn requests (2021) (opens in new tab)
Combining the pull_request_target workflow trigger with an explicit checkout of an untrusted Pull Request is a dangerous practice that may lead to repository compromise.
Read the original article