You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Git Message
v1.2.0
This action outputs the git message associated with the current SHA
Optional The sha of the commit to get the message for. Defaults to the GITHUB_SHA
environment variable set by Github.
The git-message
The title of the git-message, i.e. the first line
The body of the git-message, i.e. everything but the first line
Without SHA:
uses: kceb/git-message-action@v1
With specified SHA:
uses: kceb/git-message-action@v1
with:
sha: '2905893ab6e5f2644201c2abc04e3d83bf317d9b'
For more info on how to use outputs: https://help.github.com/en/actions/reference/contexts-and-expression-syntax-for-github-actions#steps-context