title: How to get the target branch of the GitHub pull request from an Actions?
body: <p>When an action is set on <code>pull_request</code> in Github Actions, how to get the target branch? The use case is to retrieve the PR- (and hopefully, branch)-specific commits.</p>