Wagner Santos
73133a4495
Merge pull request #25 from wagoid/feat/dont-fail-on-warnings
...
fix: don't fail on warnings
2020-02-01 16:39:53 -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
85fcead13e
chore(release): publish
2020-01-13 12:19:53 -03:00
Wagner Santos
903a877e82
Merge pull request #22 from sam-myers/update-jira-rules
...
fix: update jira rules
2020-01-05 06:59:50 -03:00
Wagner Santos
206704efcd
Merge pull request #23 from wagoid/docs/add-instructions-checkout-v2
...
docs: update usage to explain how to use it with actions/checkout@v2
2020-01-05 06:57: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
Sam Myers
1be2ce0d7a
fix: update jira rules
...
Updates JIRA dependencies to 1.2.0
Fixes https://github.com/Gherciu/commitlint-jira/issues/7
Signed-off-by: Sam Myers <sam.myers@conduit.vc>
2020-01-03 13:10:15 -06:00
Wagner Santos
c8ff3dcea8
test: show coverage in CI tests
2019-12-09 20:29:48 -03:00
Wagner Santos
3e346d92de
Merge pull request #20 from wagoid/add-tests
...
test: add tests for the action
2019-12-09 20:21:12 -03:00
Wagner Santos
eac721a186
test: add tests for the action
2019-12-09 20:12:53 -03:00
Wagner Santos
be6d99998b
chore(release): publish
2019-11-30 11:36:33 -03:00
Wagner Santos
55cae67a2d
Merge pull request #19 from wagoid/fix/do-not-get-parent-of-push-before-field
...
fix: do not try to get parent of push event's "before" field
2019-11-30 11:23:24 -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
5323f205d6
chore(release): publish
2019-11-25 11:55:53 -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
439bc550a3
chore(release): publish
2019-11-24 09:54:04 -03:00
Wagner Santos
6546e18362
Merge pull request #16 from wagoid/fix/add-plugin-with-jira-rules
...
fix: errors not showing when PR has only one commit
2019-11-24 09:24:54 -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
526db9a478
Merge pull request #14 from jotanavarro/Adding-commitlint-jira-plugin-for-rules
...
Added plugin with jira rules for `commitlint-config-jira`
2019-11-24 09:20:35 -03:00
Jose Luis Navarro Vicente
6cede4b760
fix: Jira rules can now be used out of the box
...
Added the `commitlint-plugin-jira-rules` package. Also updated
the `commitlint-config-jira` to its latest version.
2019-11-24 12:43:32 +01:00
Wagner Santos
7637484297
Merge pull request #15 from wagoid/fix/also-check-range-of-commits-for-push-events
...
fix: also check range of commits for push events
2019-11-23 18:38:32 -03:00
Wagner Santos
213c2974cb
ci: fix action always working on CI
2019-11-23 18:34:21 -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
dbcd202509
chore(release): publish
2019-10-21 15:18:17 +01:00
Wagner Santos
813e6e2882
Merge pull request #10 from vidavidorra/master
...
fix: update @commitlint/config-conventional to latest version
2019-10-21 11:07:10 -03:00
Jeroen de Bruijn
4fb94958d7
fix: set @commitlint/config-conventional to exact version 8.2.0
2019-10-20 21:14:37 +02:00
Jeroen de Bruijn
bc31cecbe8
fix: update @commitlint/config-conventional to latest version
2019-10-20 17:29:25 +02:00
Wagner Santos
026860da74
docs: update version in instructions
2019-10-18 17:01:16 -03:00
Wagner Santos
a64f515279
chore(release): publish
2019-10-18 16:55:42 -03:00
Wagner Santos
7003639b26
Merge pull request #9 from wagoid/fix/lerna-scopes-not-working-due-to-missing-lerna
...
Fix/lerna scopes not working due to missing lerna
2019-10-18 16:51:12 -03:00
Wagner Santos
99b068a844
fix: lerna scopes not working due to missing lerna dependency
...
`@commitlint/config-lerna-scopes` package depends on lerna but doesn't have `lerna` listed in its dependencies, so the action was failing. Since this action doesn't run in the repo's context, we need to install lerna as a dependency to make it work.
2019-10-18 16:44:52 -03:00
Wagner Santos
2c42093c70
fix: also show stack when an error happens
2019-10-18 16:29:58 -03:00
Wagner Santos
97a58520d3
docs: add information about running on push events
2019-10-15 11:48:58 -03:00
Wagner Santos
240ede8de1
Merge pull request #7 from wagoid/feat/add-ability-to-run-on-pulls
...
Feat/add ability to run on pushes
2019-10-15 11:37:41 -03:00
Wagner Santos
dab1d7d5fd
chore(release): bump version
2019-10-15 11:32:39 -03:00
Wagner Santos
02bab91ad9
test: build action docker image locally when running tests
2019-10-15 11:00:31 -03:00
Wagner Santos
2e19de5fb9
chore: removed not needed files from the Docker image
2019-10-15 10:24:05 -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
8bf6195a48
chore(release): bump version
2019-10-08 13:19:58 -03:00
Wagner Santos
beb4b9b431
test: add second commitlint check using yml file instead of js
2019-10-08 13:19:58 -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
d92577a12c
docs: add changelog and script to generate it
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
9379b32eb6
feat: use image from docker hub
2019-10-04 00:24:22 -03:00
Wagner Santos
dedf966fb0
fix: use Commit Linter as a unique action name
2019-10-04 00:18:00 -03:00
Wagner Santos
fd906aec0b
fix: make action name unique
2019-10-04 00:18:00 -03:00
Wagner Santos
6cbae71127
docs: add instructions and usage to README.md
2019-10-04 00:18:00 -03:00
Wagner Santos
3056734398
chore: remove unused dependencies
2019-10-04 00:18:00 -03:00