actions-marketplace-validations/GitLint Action
Check if naming conventions for commits, branches, and pull requests are respected
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 4, 2024
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/aschbacd_gitlint-action@a288aade2ea0f18fceee46f3878576b265cce0c1 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| commit-message-body-max-length | Max. length of commit message body | no | 72 |
| commit-message-body-min-length | Min. length of commit message body | no | -1 |
| commit-message-subject-max-length | Max. length of commit message subject | no | 50 |
| commit-message-subject-min-length | Min. length of commit message subject | no | -1 |
| github-token | GitHub token used to access api | yes | ${{ github.token }} |
| prohibit-blank-lines-cm-body | Prohibit blank lines in commit message body | no | false |
| prohibit-unknown-commit-authors | Prohibit commit authors that are not known to GitHub | no | true |
| prohibit-unknown-commit-committers | Prohibit commit committers that are not known to GitHub | no | true |
| prohibit-unsigned-commits | Prohibit commits without a valid signature | no | false |
| re-branch-name | Regular expression to check branch name | no | .* |
| re-commit-author-email | Regular expression to check commit author email | no | .* |
| re-commit-author-name | Regular expression to check commit author name | no | .* |
| re-commit-committer-email | Regular expression to check commit author email | no | .* |
| re-commit-committer-name | Regular expression to check commit author name | no | .* |
| re-commit-message-body | Regular expression to check commit message body | no | .* |
| re-commit-message-split | Regular expression to split commit message into subject and body | no | ([^ ]*)(?: (.*))? |
| re-commit-message-subject | Regular expression to check commit message subject | no | ^[A-Z].*((?!\.).)$ |
| re-pull-request-title | Regular expression to check pull request title | no | ^[A-Z].*((?!\.).)$ |
| re-tag-name | Regular expression to check tag name | no | .* |
Outputs
no outputs