mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-24 23:57:16 +08:00
chore(wren-ai-service): pr title validation (#560)
* feat: pr title validation * feat: try adding a scope * feat: upgrade the version to support scopes * fix: typo in workflow * chore: add wren-ui into scopes * chore: upgrade the action version * chore: add path patterns
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Pull Request Title Validator
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "wren-ai-service/**"
|
||||
- ".github/workflows/pull-request-title-validator.yaml"
|
||||
- ".github/workflows/ai-service-*.yaml"
|
||||
types: [opened, edited, synchronize]
|
||||
|
||||
permissions:
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
validator:
|
||||
name: validate-pull-request-title
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: validate pull request title
|
||||
uses: kontrolplane/pull-request-title-validator@v1.3.1
|
||||
with:
|
||||
types: "fix,feat,chore"
|
||||
scopes: "wren-ai-service"
|
||||
Reference in New Issue
Block a user