ci: add a GitHub action for checking conventional pull requests

This commit is contained in:
Matouš Volf 2024-08-15 12:09:21 +02:00
parent 49d29d6e5f
commit 0429b068ae

View File

@ -0,0 +1,15 @@
name: conventional pull requests
on:
pull_request:
types: [ opened, synchronize, reopened, edited ]
jobs:
validate-pr-title:
runs-on: ubuntu-22.04
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@1.1.0
with:
task_types: '["build","chore","ci","docs","feat","fix","perf","refactor","revert","style","test"]'
add_label: 'false'