Skip to content

Commit fc3edb2

Browse files
authored
chore: Create validate-conventional-commits.yaml
Add create-validate-conventional-commits.yaml to ensure that every PR to main complies with conventional commits Signed-off-by: Roger Barker <[email protected]>
1 parent a44cbc4 commit fc3edb2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Conventional Commit Validation
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
issues: write
10+
11+
defaults:
12+
run:
13+
shell: bash
14+
15+
jobs:
16+
validate-pr-title:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: PR Conventional Commit Validation
20+
uses: ytanikin/pr-conventional-commits@8267db1bacc237419f9ed0228bb9d94e94271a1d # v1.4.1
21+
with:
22+
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'

0 commit comments

Comments
 (0)