aschbacd/GitLint Action

Check if naming conventions for commits, branches, and pull requests are respected

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Stalelast commit Apr 4, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: aschbacd/gitlint-action@a288aade2ea0f18fceee46f3878576b265cce0c1 # v1.2.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
commit-message-body-max-lengthMax. length of commit message bodyno72
commit-message-body-min-lengthMin. length of commit message bodyno-1
commit-message-subject-max-lengthMax. length of commit message subjectno50
commit-message-subject-min-lengthMin. length of commit message subjectno-1
github-tokenGitHub token used to access apiyes${{ github.token }}
prohibit-blank-lines-cm-bodyProhibit blank lines in commit message bodynofalse
prohibit-unknown-commit-authorsProhibit commit authors that are not known to GitHubnotrue
prohibit-unknown-commit-committersProhibit commit committers that are not known to GitHubnotrue
prohibit-unsigned-commitsProhibit commits without a valid signaturenofalse
re-branch-nameRegular expression to check branch nameno.*
re-commit-author-emailRegular expression to check commit author emailno.*
re-commit-author-nameRegular expression to check commit author nameno.*
re-commit-committer-emailRegular expression to check commit author emailno.*
re-commit-committer-nameRegular expression to check commit author nameno.*
re-commit-message-bodyRegular expression to check commit message bodyno.*
re-commit-message-splitRegular expression to split commit message into subject and bodyno([^ ]*)(?: (.*))?
re-commit-message-subjectRegular expression to check commit message subjectno^[A-Z].*((?!\.).)$
re-pull-request-titleRegular expression to check pull request titleno^[A-Z].*((?!\.).)$
re-tag-nameRegular expression to check tag nameno.*

no outputs