Commit range environment variable


#1

For pull requests, please consider adding an environment variables that contains the GIT SHA1 of the first commit of the PR, similar to TRAVIS_COMMIT_RANGE of TravisCI.

TRAVIS_COMMIT_RANGE: The range of commits that were included in the push or pull request. (Note that this is empty for builds triggered by the initial commit of a new branch.)

https://docs.travis-ci.com/user/environment-variables/


#2

Is there a way to get the commit range without the environment variable? See Get list of commits in build


#3