Skip to content

Idea: More context data (e.g. Commit Message, Commit Range) #26103

Answered by electricsheep
mooyoul asked this question in Actions
Discussion options

You must be logged in to vote

Answering my own question, you can access a commit message like this from a push event, where the commit array is all the commits included in a push:

${{github.event.commits[0].message}}

Found in the documentation here

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants