mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
ci: add conventional commit validation for PR titles (#9634)
This commit is contained in:
parent
0963a32a95
commit
02e755bd92
1 changed files with 15 additions and 0 deletions
15
.github/workflows/pr-require-conventional-commit.yml
vendored
Normal file
15
.github/workflows/pr-require-conventional-commit.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/PRConventionalCommits@1.1.0
|
||||||
|
with:
|
||||||
|
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
|
||||||
|
add_label: 'false'
|
Loading…
Reference in a new issue