File tree Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ # labeler "full" schema
2+
3+ # enable labeler on issues, prs, or both.
4+ enable :
5+ issues : true
6+ prs : true
7+ # comments object allows you to specify a different message for issues and prs
8+
9+ comments :
10+ issues : |
11+ Thanks for opening this issue!
12+ I have applied any labels matching special text in your title and description.
13+
14+ Please review the labels and make any necessary changes.
15+ prs : |
16+ Thanks for the contribution!
17+ I have applied any labels matching special text in your title and description.
18+
19+ Please review the labels and make any necessary changes.
20+
21+ # Labels is an object where:
22+ # - keys are labels
23+ # - values are objects of { include: [ pattern ], exclude: [ pattern ] }
24+ # - pattern must be a valid regex, and is applied globally to
25+ # title + description of issues and/or prs (see enabled config above)
26+ # - 'include' patterns will associate a label if any of these patterns match
27+ # - 'exclude' patterns will ignore this label if any of these patterns match
28+ labels :
29+ ' bug ' :
30+ include :
31+ - ' \bbug[s]?\b'
32+ exclude : []
33+ ' help wanted ' :
34+ include :
35+ - ' \bhelp( me)?\b'
36+ exclude :
37+ - ' \b\[test(ing)?\]\b'
38+ ' enhancement ' :
39+ include :
40+ - ' \bfeat\b'
41+ exclude : []
42+ ' chore ' :
43+ include :
44+ - ' \bUpdate\b'
45+ exclude : []
46+ ' automerge ' :
47+ include :
48+ - ' \b**Automerge**: Enabled\b'
49+ exclude : []
Original file line number Diff line number Diff line change 1+ name : Community
2+ on :
3+ issues :
4+ types : [opened, edited, milestoned]
5+ pull_request_target :
6+ types : [opened]
7+
8+ jobs :
9+ labeler :
10+ permissions :
11+ contents : read
12+ id-token : write
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Import Secrets
17+ 18+ with :
19+ method : " oidc"
20+ env-slug : " dev"
21+ project-slug : " github-g0zh"
22+ identity-id : " 1ffe6b17-29ef-47ed-a54c-0912bbe40542"
23+ - name : Check Labels
24+ id : labeler
25+ uses : jimschubert/labeler-action@v2
26+ with :
27+ GITHUB_TOKEN : ${{env.NGLBOT}}
You can’t perform that action at this time.
0 commit comments