5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Frazer Smith
7c72676b5b
build(deps): remove uuid
Not used
2021-02-10 14:28:48 +00:00
Wagner Santos
a34ac47c34 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 commit 58072cd806, reversing
changes made to 1788ebdc06.
2021-02-07 07:17:51 -03:00
Wagner Santos
b674cd3ec4 fix: remove output generation
After the CVE-2020-15228 vulnerability,
we can't issue commands with sensitive data on this action anymore.

Due to that, the JSON output that this action generated was removed.
2021-01-28 19:37:14 -03:00
Wagner Santos
1128358de3 fix: stop trying to issue commands on failures
Commands are disabled, so we should not use `core.setFailed` on errors anymore.

Closes #70
2021-01-28 19:34:06 -03:00
ylemkimon
d67c2ec96c fix: do not run workflow commands in commit messages 2020-11-11 17:04:48 +00:00
Fred
7e678913ff feat: use config-conventional as default config 2020-09-07 12:42:19 +00:00
Wagner Santos
0911cae009 fix: action shows error ouput when not all commits have warnings
Fixes #43
2020-08-20 08:33:46 -03:00
Wagner Santos
18e9bff0e6 feat: use action input instead of env var to get the github token
BREAKING CHANGE: GITHUB_TOKEN env var is now ignored. In case a custom token is needed,
it'll be necessary to pass it via the `token` input from now on.
2020-08-02 11:23:03 -03:00
Wagner Santos
a413a3f439 feat: upgrade commitlint dependencies to v9
BREAKING CHANGE: this includes breaking changes from commitlint v9,
like the fact that `improvement` type is now rejected in `@commitlint/config-conventional`.
2020-08-02 11:22:53 -03:00
Wagner Santos
0c7da1b0a2 test: add output tests for PR scenario 2020-08-02 06:49:40 -03:00
Wagner Santos
231d02e17f test: add test to expect an output on success scenario too 2020-08-02 06:49:40 -03:00
Wagner Santos
25a8edceb7 refactor: move action files to src folder 2020-08-02 06:42:21 -03:00