mirror of
https://github.com/Canner/WrenAI.git
synced 2026-10-13 00:38:08 +08:00
* 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
23 lines
565 B
YAML
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" |