I'm wondering if there is a way to get the commits in a push event from @actions/github
?
I tried GitHub.context.payload.comment
, but that's returning undefined.
Is there a way to do it in javascript/typescript?
Thanks.
I'm wondering if there is a way to get the commits in a push event from @actions/github
?
I tried GitHub.context.payload.comment
, but that's returning undefined.
Is there a way to do it in javascript/typescript?
Thanks.