We have some automation for our project (currently using Travis, want to switch to Github Actions) that checks whether all the commits in a Pull Request either mention an issue (closes: #321, ref: #643, etc.), or they say [noissue].
See this script: https://github.com/pulp/pulpcore/blob/master/.travis/check_commit.sh
We’re struggling to see how we would accomplish the same thing with Github Actions, though, because there is no obvious way to get the beginning of the commit range.
GITHUB_SHA only provides the last commit. How can we accomplish this?