Skip to content

Commit

Permalink
ci: add conventional commit validation for PR titles
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard committed May 21, 2024
1 parent 0963a32 commit 464367b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr-require-conventional-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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/[email protected]
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
add_label: 'false'

0 comments on commit 464367b

Please sign in to comment.