Skip to content

Commit 8589bb7

Browse files
committed
fix(action): add field to action
1 parent 6a9739b commit 8589bb7

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

action.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ description: Lints Pull Request commit messages with commitlint
33
author: Wagner Santos
44
inputs:
55
configFile:
6-
description: Commitlint config file. If the file doesn't exist, config-conventional settings will be
6+
description:
7+
Commitlint config file. If the file doesn't exist, config-conventional settings will be
78
loaded as a fallback.
89
default: ./commitlint.config.js
910
required: false
@@ -12,19 +13,23 @@ inputs:
1213
When set to true, we follow only the first parent commit when seeing a merge commit.
1314
More info in git-log docs
1415
https://git-scm.com/docs/git-log#Documentation/git-log.txt---first-parent
15-
default: "true"
16+
default: 'true'
1617
required: false
1718
failOnWarnings:
1819
description: Whether you want to fail on warnings or not
19-
default: "false"
20+
default: 'false'
2021
required: false
22+
failOnErrors:
23+
description: Whether you want to fail on errors or not
24+
default: 'true'
25+
required: true
2126
helpURL:
2227
description: Link to a page explaining your commit message convention
2328
default: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
2429
required: false
2530
commitDepth:
2631
description: When set to a valid Integer value - X, considers only the latest X number of commits.
27-
default: ""
32+
default: ''
2833
required: false
2934
token:
3035
description: >

0 commit comments

Comments
 (0)