wagoid/commitlint-github-action

Unclear what the output format

aranw opened this issue · 3 comments

aranw commented

I was reading the docs and I found it to be unclear as to whether the output from this action is JSON or formatted text

It would be nice to have the option of both which I'm guessing isn't currently available based on the action.js file

Hey @aranw! The action logs the results, and also adds JSON output in the standard format that GitHub Actions expects. You can see more explanation about this behavior here: https://github.com/wagoid/commitlint-github-action#results

aranw commented

Yeah I'm hoping to copy the output and add it as a comment on the PR

Hey @aranw ! I forgot to mention, we also have an example of the JSON result being used here. I'll close this issue, but feel free to create a new issue or improve documentation if needed 💪