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

docs: mention default config fallback

This commit is contained in:
Frederic Cabassut 2020-09-14 09:03:09 +02:00
parent 7e678913ff
commit 183e260e9b
No known key found for this signature in database
GPG key ID: 6AA1E911D3C2A2B6
2 changed files with 3 additions and 1 deletions

View file

@ -32,6 +32,8 @@ The path to your commitlint config file.
Default: `commitlint.config.js`
If the config file doesn't exist, [config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional) settings will be loaded as a default fallback.
### `firstParent`
When set to true, we follow only the first parent commit when seeing a merge commit.

View file

@ -3,7 +3,7 @@ description: Lints Pull Request commit messages with commitlint
author: Wagner Santos
inputs:
configFile:
description: Commitlint config file
description: Commitlint config file. If the file doesn't exist, config-conventional settings will be loaded as a fallback.
default: ./commitlint.config.js
required: false
firstParent: