Skip to content

Commit

Permalink
chore: Add PR title validation (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins authored Jun 20, 2024
1 parent 18034d4 commit b3201ab
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/validate_pr_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Validate PR Conventional Commit

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: '["fix","feat","refactor","perf","spike","hotfix","revert","chore","docs","test","build"]'
custom_labels: >-
{ "fix": "fix",
"feat": "feature",
"refactor": "refactor",
"perf": "performance",
"spike": "spike",
"hotfix": "hotfix",
"revert": "revert",
"chore": "chore",
"docs": "documentation",
"test": "test",
"build": "build"
}

0 comments on commit b3201ab

Please sign in to comment.