Closed lunaticmonk closed 2 years ago
Hi @lunaticmonk! Currently, this action does not return any output. From GitHub Docs, if you want to know whether the previous step had passed/failed/cancelled/skipped, you could check for:
if: ${{ needs.steps.title_check.result == 'success' }} # One of success, failure, cancelled, or skipped
However, your workflow does this automatically and only runs the second action if the first one succeeds. If not, it will be skipped. So I'm not sure if you need this if
condition at all.
Let me know if this helps. If you feel that there's a good reason for outputs to be returned by the action, I'd be happy to discuss!
Closing due to inactivity.
Hi, here is what I am trying to do:
I want to check the regex in the PR title and when it matches, I want to check if a specific label is applied on the PR or not.
This is how my config json looks:
And this is how the github action looks:
Is there a way I can access the
MESSAGES.success
in thelabelCheck
job? Please help.