Skip to content

Commit f4b5d28

Browse files
authored
ci: Add validate-pr-title job to setup-git-semver (#4)
Signed-off-by: Roger Barker <[email protected]>
1 parent e3c2c60 commit f4b5d28

File tree

4 files changed

+22
-79
lines changed

4 files changed

+22
-79
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @DJ-BBot

.github/workflows/snyk-security.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.idea

0 commit comments

Comments
 (0)