Github.event.head_Commit
Github.event.head_Commit . Now let's return to the master branch. List branches for head commit. AboutBits Using Github Actions to Automatically Increment NPM Version from aboutbits.it Our next step is to create a script which our ci will use on every commit. In this situation, it checks to see if the commit message on the last push, accessed using github.event.head_commit.message. Out of the box, github actions makes it possible to run workflows conditionally on the modification of a path: