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:
Pao Sheng
2024-08-02 17:42:36 +08:00
committed by GitHub
parent 4372d0bbea
commit 882d71c37d
@@ -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"