Skip to content

Commit c282520

Browse files
authored
Auto-label PRs (#2101)
* add pull request labeler * label consistency and regex names
1 parent 737565b commit c282520

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

.github/labeler.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# LABEL List for Workflow labeler.yml job triage
2+
"iOS":
3+
- Document/0x06*
4+
5+
"Android":
6+
- Document/0x05*
7+
8+
"MASVS-STORAGE":
9+
- Document/0x0[5-6]d*
10+
11+
"MASVS-CRYPTO":
12+
- Document/0x0[5-6]e*
13+
14+
"MASVS-AUTH":
15+
- Document/0x0[5-6]f*
16+
17+
"MASVS-NETWORK":
18+
- Document/0x0[5-6]g*
19+
20+
"MASVS-PLATFORM":
21+
- Document/0x0[5-6]h*
22+
23+
"MASVS-CODE":
24+
- Document/0x0[5-6]i*
25+
26+
"MASVS-RESILIENCE":
27+
- Document/0x0[5-6]j*
28+
29+
"tests":
30+
- Document/0x0[5-6][d-j]*
31+
32+
"fundamentals":
33+
- Document/0x0[5-6][a-b]*
34+
35+
"techniques":
36+
- Document/0x0[5-6]c*
37+
38+
"tools":
39+
- Document/0x08*

.github/workflows/labeler.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
triage:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v4
13+
with:
14+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)