Skip to content

Commit

Permalink
chore(ci): add gh action for validating semantic commits
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Dec 9, 2023
1 parent 1c0296f commit 0d62a07
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/semantic-commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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/PRConventionalCommits@1.1.0
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'

0 comments on commit 0d62a07

Please sign in to comment.