{"repo":"opensource-nepal/commitlint","free":true,"listed":false,"github":"https://github.com/opensource-nepal/commitlint","clone":"git clone https://github.com/opensource-nepal/commitlint.git","description":"Lint Conventional Commit message on GitHub Actions and pre-commit.","language":"Python","stars":37,"topics":["actions","commit","commit-lint","commit-message","commitlint","conventional","conventional-commit","github-actions","pre-commit","python-commitlint"],"license":"GPL-3.0","category":"workflow-automation","readme_excerpt":"Conventional Commitlint commitlint is a tool that lints commit messages according to the Conventional Commits standard. It can be used in GitHub Actions and as a pre-commit hook. Usage GitHub Actions If you have an existing workflow, add the following steps: If you don't have any workflows, create a new GitHub workflow file, e.g., .github/workflows/commitlint.yml : Note: The commitlint GitHub Action is triggered only by push , pull request , or pull request target events. GitHub Action Permissions The action requires read permission for the following scopes: - contents: read : This allows the action to list commits of the repository. - pull-requests: read : This allows the action to list the commits in a Pull Request. For public repositories, these permissions are granted by default. For private repositories, you must explicitly grant them, either in: - the repository’s default workflow permissions, or - the workflow/job permissions block Without these, you may encounter an error like: GitHub Action Inputs # Name Type Default Description --- --------------------- ------- ---------------------- --------------------------------------------------------------------------------------------- 1 fail on error Boolean true Whether the GitHub Action should fail if commitlint detects an issue. 2 verbose Boolean false Enables verbose output. 3 max header length Number Optional. Maximum header length to check. If not specified, the header length is not checked. 4 token String secrets.GITH","default_branch":null,"files":null,"tree":[],"storefront":"/r/opensource-nepal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/opensource-nepal/commitlint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}