feat: check pull requests and commits using conventional commits #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |