wait-for-status-checks icon indicating copy to clipboard operation
wait-for-status-checks copied to clipboard

pickSHA: Improve pickSHA to handle pull_request_target and push

Open bjhargrave opened this issue 4 months ago • 1 comments

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."

bjhargrave avatar Oct 01 '24 18:10 bjhargrave