1+ name : Conventional Commit Labels
2+
3+ on :
4+ pull_request :
5+ branches : [frc/abelaction]
6+ types :
7+ [opened, reopened, labeled, unlabeled]
8+
9+ jobs :
10+ validate-pr-title :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Execute assign labels
14+ id : action-assign-labels
15+ uses :
mauroalderete/[email protected] 16+ with :
17+ pull-request-number : ${{ github.event.pull_request.number }}
18+ github-token : ${{ secrets.GITHUB_TOKEN }}
19+ conventional-commits : |
20+ conventional-commits:
21+ - type: 'fix'
22+ nouns: ['FIX', 'Fix', 'fix', 'FIXED', 'Fixed', 'fixed']
23+ labels: ['bug']
24+ - type: 'feature'
25+ nouns: ['FEATURE', 'Feature', 'feature', 'FEAT', 'Feat', 'feat']
26+ labels: ['feature']
27+ - type: 'breaking_change'
28+ nouns: ['BREAKING CHANGE', 'BREAKING', 'MAJOR']
29+ labels: ['BREAKING CHANGE']
30+ - type: 'docs'
31+ nouns: ['DOCS', 'Docs', 'docs']
32+ labels: ['docs']
33+ - type: 'refactor'
34+ nouns: ['REFACTOR', 'Refactor', 'refactor']
35+ labels: ['refactor']
36+ - type: 'test'
37+ nouns: ['TEST', 'Test', 'test']
38+ labels: ['test']
39+ - type: 'style'
40+ nouns: ['STYLE', 'Style', 'style']
41+ labels: ['style']
42+ - type: 'chore'
43+ nouns: ['CHORE', 'Chore', 'chore']
44+ labels: ['chore']
45+ - type: 'ci'
46+ nouns: ['CI', 'Ci', 'ci']
47+ labels: ['ci']
48+ - type: 'perf'
49+ nouns: ['PERF', 'Perf', 'perf']
50+ labels: ['perf']
51+
0 commit comments