mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-04 16:56:52 +00:00
feat: add outputs generation again
As mentioned on https://github.com/actions/toolkit/issues/702#issuecomment-774269650, we are safe to execute commands on our side. This reverts commit58072cd806, reversing changes made to1788ebdc06.
This commit is contained in:
parent
771ad9d88a
commit
a34ac47c34
4 changed files with 165 additions and 41 deletions
|
|
@ -62,6 +62,14 @@ You can see more info about GitHub's default token [here](https://docs.github.co
|
|||
|
||||
default: `${{ github.token }}`
|
||||
|
||||
## Outputs
|
||||
|
||||
### `results`
|
||||
|
||||
The error and warning messages for each one of the analyzed commits. This is useful if you want to use the commitlint results in a JSON format in other jobs. See [the documentation](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#fromjson) on how to read JSON information from outputs.
|
||||
|
||||
Below you can see an example text output together with its corresponding JSON output:
|
||||
|
||||
```
|
||||
You have commit messages with errors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue