-
Notifications
You must be signed in to change notification settings - Fork 67
40 lines (38 loc) · 914 Bytes
/
pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Check PR
on:
workflow_dispatch:
pull_request_target:
types: [opened, edited, synchronize]
jobs:
cc:
name: Validate PR title
runs-on: ubuntu-latest
steps:
# https://github.com/amannn/action-semantic-pull-request/releases
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.PR_TITLE_GITHUB_TOKEN }}
with:
# Allowed types: See CONTRIBUTING.md
types: |
chore
docs
feat
fix
perf
refactor
revert
style
security
test
scopes: |
ui
weave
weave_ts
weave_query
app
dev
wip: false
requireScope: true
validateSingleCommit: false
validateSingleCommitMatchesPrTitle: false