Skip to content

feat: check pull requests and commits using conventional commits #9

feat: check pull requests and commits using conventional commits

feat: check pull requests and commits using conventional commits #9

name: 📝 Verify pull request
on:
pull_request:
types: [opened, synchronize, edited]
jobs:
conventionnal-commit:
name: 🔎 PR title and description
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: ⛏️ Extract pull request title
run: echo "${{ github.event.pull_request.title }}" > pull-request-title
- name: 🤝 Check conventional commit
run: npx git-conventional-commits commit-msg-hook pull-request-title