Skip to content

Commit

Permalink
Merge pull request #19 from beclab/ci/check
Browse files Browse the repository at this point in the history
ci: add pr conventional-commit-validation
  • Loading branch information
wushuangs authored Dec 6, 2024
2 parents 06493e3 + b1ba207 commit 0f75cd7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr-conventional-commit-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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]
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","style"]'
add_label: 'true'

0 comments on commit 0f75cd7

Please sign in to comment.