ci: check PRs against conventional commits
Lorenzo Rizzotti committed
Mar 23, 2025 at 12:31 UTC
c1be65eb2f59dd5bb86c397b4b5ce57b2bb1b950
1 file changed
+14
.github/workflows/pr.yml
new
+14
@@ -0,0 +1,14 @@
1
+name: PR Conventional Commit Validation
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened, edited]
6
+
7
+jobs:
8
+ validate-pr-title:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: PR Conventional Commit Validation
12
+ uses: ytanikin/pr-conventional-commits@1.4.0
13
+ with:
14
+ task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'