Skip to content

High performance self-hosted photo and video management solution.

ci: add conventional commit validation for PR titles (#9634)

Zack Pollard02e755bd92fd
diff --git a/.github/workflows/pr-require-conventional-commit.yml b/.github/workflows/pr-require-conventional-commit.yml
new file mode 100644
index 0000000000..9427de94ee
--- /dev/null
+++ b/.github/workflows/pr-require-conventional-commit.yml
@@ -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/[email protected]
+ with:
+ task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
+ add_label: 'false'