-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (40 loc) · 1.07 KB
/
pull-request.yml
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
41
42
name: Pull Request
on:
pull_request:
jobs:
conventional-commit:
name: Conventional Commit
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Check PR Conventional Commit title
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: | # mirrors changelog-sections in the /release-please-config.json
feat
fix
ci
docs
deps
refactor
test
chore
- name: Auto-label PR with Conventional Commit title
uses: kramen22/conventional-release-labels@v1
with:
type_labels: |
{
"feat": "feature",
"fix": "fix",
"ci": "ci-cd",
"docs": "docs",
"deps": "dependencies",
"perf": "performance",
"refactor": "refactor",
"test": "testing",
"chore": "chore"
}
ignored_types: '[]'