ci: add PR title validation (#395)

This commit is contained in:
Mickael 2025-07-08 18:41:03 +02:00 committed by GitHub
parent 6fbc296e7b
commit 15078ba9fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

15
.github/workflows/pr-title-check.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: PR Conventional Commit Validation
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/pr-conventional-commits@1.4.0
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
add_label: 'false'