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