Files
WrenAI/.github/workflows/pull-request-title-validator.yaml
T
Pao Sheng 882d71c37d 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
2024-08-02 17:42:36 +08:00

23 lines
565 B
YAML

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"