GitHub Action for linting the title of a Pull Request
Create or use an existing workflow that affects PRs (eg: .github/workflows/pr-name.yml
see Creating a Workflow file).
Here is an example of configuration
name: pr-name-linter
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- name: Install Dependencies
run: npm install @commitlint/config-conventional
- uses: tobiastimm/lint-pr-title-action@v1.0.0
👤 Tobias Timm
- Twitter: @tbstimm
- Github: @tobiastimm
- LinkedIn: @tbstimm
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2024 Tobias Timm.
This project is MIT licensed.