Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pickSHA: Improve pickSHA to handle pull_request_target and push
To support use in pull_request_target target workflows, we need to use the pull_request.head.sha value for check-runs. We also better support push target workflows by using the after SHA value as it better represents "The SHA of the most recent commit on ref after the push." Signed-off-by: BJ Hargrave <bj@hargrave.dev>
- Loading branch information