-
Notifications
You must be signed in to change notification settings - Fork 107
49 lines (47 loc) · 1.44 KB
/
labels.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
41
42
43
44
45
46
47
48
49
name: Conventional Commit Labels
on:
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
assign-labels:
runs-on: ubuntu-latest
name: Assign labels in pull request
if: github.event.pull_request.merged == false
steps:
- name: Execute assign labels
id: action-assign-labels
uses: mauroalderete/action-assign-labels@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
conventional-commits: |
conventional-commits:
- type: 'fix'
nouns: ['fix']
labels: ['fix']
- type: 'feat'
nouns: ['feat']
labels: ['feat']
- type: 'build'
nouns: ['build']
labels: ['build']
- type: 'chore'
nouns: ['chore']
labels: ['chore']
- type: 'ci'
nouns: ['ci']
labels: ['ci']
- type: 'docs'
nouns: ['docs']
labels: ['docs']
- type: 'style'
nouns: ['style']
labels: ['style']
- type: 'refactor'
nouns: ['refactor']
labels: ['refactor']
- type: 'perf'
nouns: ['perf']
labels: ['perf']
- type: 'test'
nouns: ['test']
labels: ['test']