11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-04 16:56:52 +00:00

feat!: use github event payload and API to list commits resolves #456

That way we guarantee we're linting the same commits that appear on github.

BREAKING CHANGE: "firstParent" option has been removed
This commit is contained in:
Wagner Santos 2023-07-22 07:25:21 -03:00
parent 2be323bc44
commit a31f4b5793
8 changed files with 219 additions and 334 deletions

View file

@ -38,14 +38,6 @@ If the config file doesn't exist, [config-conventional](https://github.com/conve
Details on the configuration file can be found on [the commitlint website](https://commitlint.js.org/#/reference-configuration).
### `firstParent`
When set to true, we follow only the first parent commit when seeing a merge commit.
This helps to ignore errors in commits that were already present in your default branch (e.g. `master`) before adding conventional commit checks. More info in [git-log docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---first-parent).
Default: `true`
### `failOnWarnings`
Whether you want to fail on warnings or not.