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
Wagner Santos
eac721a186 test: add tests for the action 2019-12-09 20:12:53 -03:00
Wagner Santos
c1bba52d77 fix: do not try to get parent of push event's "before" field
"before" field of a push event's payload already shows the commit before the push event was sent, so we can use it as "from" field of the revision.

Fixes #18
2019-11-30 11:20:37 -03:00
Wagner Santos
ad1a5cd85d
Merge pull request #11 from mjhd-devlion/feat/pass-opts
feat: support lint opts
2019-11-25 11:49:58 -03:00
Wagner Santos
8dd0fbf821 fix: errors not showing when PR has only one commit 2019-11-24 09:21:32 -03:00
Wagner Santos
aa3e7ae63b fix: also check range of commits for push events
This covers the case when sending multiple commits together in ome push.
2019-11-23 18:33:59 -03:00
Yusuke Otsuka
c1cb555db5 feat: support opts for lint 2019-11-08 15:25:52 +09:00
Wagner Santos
2c42093c70 fix: also show stack when an error happens 2019-10-18 16:29: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
23cd801837 feat: add ability to run commitlint on events that are not pull requests
For any event that is not of type `pull_request`, we consider there will be a `GITHBU_SHA` defined and run lint against only this specific commit
sha.
This supports not only events of type `pull` but also other events that provide us a `GITHBU_SHA`, like `check_suite`.
2019-10-15 10:23:56 -03:00
Wagner Santos
3559d7d304 fix: do not call require in the config file to allow other file types 2019-10-08 13:19:58 -03:00
Wagner Santos
3056734398 chore: remove unused dependencies 2019-10-04 00:18:00 -03:00
Wagner Santos
478fbaff69 feat: add commitlint action 2019-10-04 00:17:29 -03:00