Skip to content

shripadbpersonal/commit-lint-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Commit Lint Bot (GitHub Action)

License: MIT

A simple GitHub Action to validate commit messages against a conventional format like type: message.


βœ… Format Rule

Each commit message must match the pattern:

<type>: <message>

Examples:

  • fix: correct typo in README
  • feat: add new export feature

πŸ“¦ Usage

Add the following to your .github/workflows/commit-lint.yml:

name: Commit Lint

on:
  push:
    branches: [ main ]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: ./  # assumes this action is in the same repo

πŸ“„ License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published