-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
Description
The pull_request event object does contain the sha for the base commit that triggered the workflow run. Can't you just use github.event.pull_request.base.sha to do your historical calculations and thus be able to support that trigger without further upset?
As an aside, I noticed the action directly references the github event json and has a switch statement to fork the handling based on workflow trigger. It'd be nice if the action leveraged the typical github environment variables instead so it's easier to override from the downstream consumer's perspective.
t18n, shrink, samgard-lci, yamamoto-tomoya-ab, tbigham and 14 more