-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
It would be great to set the output of this action as a workflow accessible output so it can be accessed in subsequent steps.
Example text output:
⧗ input: fix:
✖ subject may not be empty [subject-empty]
⚠ type must be sentence-case [type-case]
✖ found 1 problems, 1 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: hello world
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
Example JSON output (can be used with fromJson())
[
{
"id":"a4060537e328962f6808c1fc0232d0a9c4cf761f",
"message":"fix:",
"errors":[
"subject may not be empty [subject-empty]"
],
"warnings":[
"type must be sentence-case [type-case]"
]
},
{
"id":"cb565dfcca3128380b9b3dc274aedbcae34ce5ca",
"message":"hello world",
"errors":[
"subject may not be empty [subject-empty]",
"type may not be empty [type-empty]"
],
"warnings":[
]
}
]Metadata
Metadata
Assignees
Labels
No labels