chrishkchris commented on pull request #790:
URL: https://github.com/apache/singa/pull/790#issuecomment-689958872


   I think I got the different between "push" and "pull_request" clearer now:
   
   From this webpage: 
https://frontside.com/blog/2020-05-26-github-actions-pull_request/
   This page says that:
   "This difference means that a pull_request workflow ref would look like 
refs/remotes/pull/##/merge whereas a push workflow would be 
refs/heads/branch_name. This explains why the SHA of a push workflow matches 
the commit that triggered the workflow, whereas the SHA of a pull_request 
workflow does not; instead **the SHA of the pull_request is the resulting 
commit that was created from merging the base to the head**."


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to