Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
26 lines
590 B
YAML
26 lines
590 B
YAML
name: 📌 Check PR
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
- ready_for_review
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
validate:
|
|
name: validate PR title
|
|
if: github.repository == 'dream-num/univer' && !github.event.pull_request.draft
|
|
runs-on: minimum-runner
|
|
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@v6
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
subjectPattern: ^(?![A-Z]).+$
|