mirror of
https://github.com/cyclotruc/gitingest.git
synced 2026-04-28 10:39:31 +00:00
ci: add PR title validation (#395)
This commit is contained in:
parent
6fbc296e7b
commit
15078ba9fe
1 changed files with 15 additions and 0 deletions
15
.github/workflows/pr-title-check.yml
vendored
Normal file
15
.github/workflows/pr-title-check.yml
vendored
Normal file
|
|
@ -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/pr-conventional-commits@1.4.0
|
||||
with:
|
||||
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
|
||||
add_label: 'false'
|
||||
Loading…
Add table
Add a link
Reference in a new issue