forked from runfinch/finch-daemon
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 797 Bytes
/
lint-pr-title.yaml
File metadata and controls
33 lines (33 loc) · 797 Bytes
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
name: "Lint PR Title"
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
main:
name: conventional-commit
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
with:
# List from https://github.com/commitizen/conventional-commit-types/blob/master/index.json
# with custom types added at the end.
# Custom types should also be added in release-please.yaml changelog-types.
types: |
feat
fix
docs
style
refactor
perf
test
build
ci
chore
revert
exp
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}