This is how you setup the action triggers for GitHub issue comments in .github/workflows/main.yml
:
on:
issue_comment:
types: [created, edited]
I assume that I can also read the issue comment inside main.yml
and pass it as an input argument to my action.
How do I actually read the issue comment body
?