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

32 commits

Author SHA1 Message Date
Sakethtadimeti
b0982e3b0a feat: adds commitDepth as new input param 2022-11-20 13:45:17 +05:30
Wagner Santos
7711466212
docs: update docs to use v5 2022-06-18 06:50:00 -03:00
Wagner Santos
ce9a8cb8ca fix: set workspace directory as safe in the entrypoint
`actions/checkout` already fixed the issue on their side in
[v3.0.1](https://github.com/actions/checkout/releases/tag/v3.0.1).
But since this is a container action, it can be run with another uid than the one
from `actions/checkout` and therefore we need to add the `safe.directory` config again.

Another way of fixing this would be to make this action run with the same uid as the github runner,
 but as mentioned [here](https://github.com/actions/checkout/issues/760#issuecomment-1098135955)
we're not sure whether the `1000` uid of the runner is reliable.

The different `uid` issue seems more like a Github Actions ecosystem problem,
maybe they'll take care of it later.
2022-05-07 06:31:36 -03:00
wagoid
d126fb6700 docs: reference v4 instead of v3 on Inputs section of readme 2021-07-17 16:57:52 -03:00
wagoid
d6d6fc0ae0 feat: officially support commitlint-plugin-function-rules
Resolves #196
2021-07-17 12:25:55 -03:00
wagoid
2e578124a5 fix: build the action with rollup
On v4, we used the default nodejs resolution logic to allow ES modules in dependencies.
This created a breaking change of forcing users of this action
to use the .cjs extension instead of .js in config files.

With this fix, we now bundle the action with rollup to allow ES modules
in dependencies, while keeping the support for .js config files.

With this change, the default config file was returned back to .js instead of
.cjs.

Fixes #194
2021-07-17 12:19:13 -03:00
wagoid
5b6cd1b23a fix: default to .cjs extension in config files 2021-07-15 15:51:26 -03:00
wagoid
6ee5392862 docs: use v4 on usage instructions 2021-07-15 05:43:23 -03:00
rizet
203ccfe5a4 docs: specify how to supply inputs 2021-05-18 18:48:01 -04:00
rizet
4874b95858
docs: link to more information on configurations 2021-05-18 18:47:19 -04:00
Sebastian Schuberth
ae7ecde18b docs(readme): add a link to the commitlink homepage 2021-05-04 12:42:31 +02:00
Wagner Santos
9c4a2f86a5
docs: use v3 action on README.md 2021-04-05 05:00:44 -03:00
Wagner Santos
0a48910d24 docs: update instructions to use current Node.js LTS 2021-02-12 16:42:05 -03: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
Jeroen de Bruijn
c2f10d94ca
docs: use env to replace deprecated set-env in example
`set-env` is deprecated and disabled as of November 16th, 2020 as mentioned on the GitHub blog.
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-17 07:39:47 +01:00
Frederic Cabassut
183e260e9b
docs: mention default config fallback 2020-09-14 09:03:09 +02: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
550792f0ca feat: add results output
Resolves #39
2020-08-02 06:42:18 -03:00
Wagner Santos
a2c9157742 docs: explain how to use custom configs and plugins 2020-02-22 09:41:54 -03:00
Wagner Santos
f4821d1c76 feat: add helpURL parameter 2020-02-01 16:51:13 -03:00
Wagner Santos
6e0fcb1270 fix: don't fail on warnings
This follows the commitlint CLI behavior, which exits with success when there are only warnings.
This behavior can be changed by passing 'true' to the parameter `failOnWarnings`.
2020-02-01 16:32:55 -03:00
Wagner Santos
341b9514fa docs: update usage to explain how to use it with actions/checkout@v2 2020-01-05 06:55:27 -03:00
Wagner Santos
439bc550a3 chore(release): publish 2019-11-24 09:54:04 -03:00
Wagner Santos
dbcd202509 chore(release): publish 2019-10-21 15:18:17 +01:00
Wagner Santos
026860da74 docs: update version in instructions 2019-10-18 17:01:16 -03:00
Wagner Santos
97a58520d3
docs: add information about running on push events 2019-10-15 11:48:58 -03:00
Wagner Santos
598e473cb4 feat: add firstParent input to ignore errors from your default branch 2019-10-15 10:24:05 -03:00
Wagner Santos
8bf6195a48 chore(release): bump version 2019-10-08 13:19:58 -03:00
Wagner Santos
33f8aa30dd fix: revert action to use debian image
Somehow when using alpine image, github actions was not running the entrypoint
2019-10-04 00:47:40 -03:00
Wagner Santos
6cbae71127 docs: add instructions and usage to README.md 2019-10-04 00:18:00 -03:00
Wagner Santos
083d21442d
Initial commit 2019-10-01 18:29:56 -03:00