File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Conventional Commit Labels
2+ on :
3+ pull_request_target :
4+ types : [opened, synchronize, reopened]
5+
6+ jobs :
7+ assign-labels :
8+ runs-on : ubuntu-latest
9+ name : Assign labels in pull request
10+ if : github.event.pull_request.merged == false
11+ steps :
12+ - name : Execute assign labels
13+ id : action-assign-labels
14+ uses : mauroalderete/action-assign-labels@v1
15+ with :
16+ github-token : ${{ secrets.GITHUB_TOKEN }}
17+ conventional-commits : |
18+ conventional-commits:
19+ - type: 'fix'
20+ nouns: ['fix']
21+ labels: ['fix']
22+ - type: 'feat'
23+ nouns: ['feat']
24+ labels: ['feat']
25+ - type: 'build'
26+ nouns: ['build']
27+ labels: ['build']
28+ - type: 'chore'
29+ nouns: ['chore']
30+ labels: ['chore']
31+ - type: 'ci'
32+ nouns: ['ci']
33+ labels: ['ci']
34+ - type: 'docs'
35+ nouns: ['docs']
36+ labels: ['docs']
37+ - type: 'style'
38+ nouns: ['style']
39+ labels: ['style']
40+ - type: 'refactor'
41+ nouns: ['refactor']
42+ labels: ['refactor']
43+ - type: 'perf'
44+ nouns: ['perf']
45+ labels: ['perf']
46+ - type: 'test'
47+ nouns: ['test']
48+ labels: ['test']
49+
You can’t perform that action at this time.
0 commit comments