| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
📓 Lint commit messages with GitHub Actions.
# .github/workflows/commitlint.yml
name: commitlint
on: push
jobs:
commitlint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Commitlint
uses: remarkablemark/commitlint@v2
with:
checkout: trueValidate last commit message or all commit messages in a pull request:
- uses: remarkablemark/commitlint@v2
with:
checkout: trueSee action.yml
Optional: Whether to checkout the repository. Defaults to false:
- uses: remarkablemark/commitlint@v2
with:
checkout: trueOmit this input if the repository has already been checked out with all of the history:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: remarkablemark/commitlint@v2Optional: The config to enforce conventional commits. Defaults to @commitlint/config-conventional:
- uses: remarkablemark/commitlint@v2
with:
config: '@commitlint/config-angular'Optional: The lower end of the commit range to lint. Defaults to HEAD~1:
- uses: remarkablemark/commitlint@v2
with:
from: HEAD~Optional: The version of @commitlint/cli. Defaults to latest:
- uses: remarkablemark/commitlint@v2
with:
version: 21.0.0| Back | FazBrowse Home | New Git URL |