Skip to content

Commit d1f2e23

Browse files
ci: validate pr title to adhere conventional commits (#1254)
1 parent 8cd10ed commit d1f2e23

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
jobs:
19+
pr-title:
20+
runs-on: ubuntu-latest
21+
if: github.event_name == 'pull_request'
22+
steps:
23+
- name: PR Conventional Commit Validation
24+
uses: ytanikin/pr-conventional-commits@1.4.1
25+
with:
26+
task_types: '["feat","fix","docs","test","ci","build","refactor","style","perf","chore","revert"]'
27+
1928
matrix:
2029
runs-on: ubuntu-latest
2130
outputs:

0 commit comments

Comments
 (0)