Wagner Santos
51913c302c
style: add eslint to the project
...
The config is based on airbnb shared config, with some rules that work better with the project.
2021-02-18 14:43:25 -03:00
Wagner Santos
35f989c47c
test: remove unneeded update of GITHBU_TOKEN env var
2021-02-17 10:52:25 -03:00
Wagner Santos
84dd7685c6
fix: call getOctokit function instead of removed Github constructor
2021-02-17 10:51:18 -03:00
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