actions-marketplace-validations/Commit Linter
Lints Pull Request commit messages with commitlint
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| configFile | Commitlint config file. If the file doesn't exist, config-conventional settings will be loaded as a fallback. | no | ./commitlint.config.mjs |
| failOnWarnings | Whether you want to fail on warnings or not | no | false |
| failOnErrors | Whether you want to fail on errors or not | yes | true |
| helpURL | Link to a page explaining your commit message convention | no | https://github.com/conventional-changelog/commitlint/#what-is-commitlint |
| commitDepth | When set to a valid Integer value - X, considers only the latest X number of commits. | no | "" |
| token | Personal access token (PAT) used to interact with the GitHub API. By default, the automatic token provided by GitHub is used. You can see more info about GitHub's default token here: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| results | The error and warning messages for each one of the analyzed commits |