Skip to content

Commit

Permalink
Auto-label PRs (#2101)
Browse files Browse the repository at this point in the history
* add pull request labeler

* label consistency and regex names
  • Loading branch information
witzki authored Jul 13, 2022
1 parent 737565b commit c282520
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# LABEL List for Workflow labeler.yml job triage
"iOS":
- Document/0x06*

"Android":
- Document/0x05*

"MASVS-STORAGE":
- Document/0x0[5-6]d*

"MASVS-CRYPTO":
- Document/0x0[5-6]e*

"MASVS-AUTH":
- Document/0x0[5-6]f*

"MASVS-NETWORK":
- Document/0x0[5-6]g*

"MASVS-PLATFORM":
- Document/0x0[5-6]h*

"MASVS-CODE":
- Document/0x0[5-6]i*

"MASVS-RESILIENCE":
- Document/0x0[5-6]j*

"tests":
- Document/0x0[5-6][d-j]*

"fundamentals":
- Document/0x0[5-6][a-b]*

"techniques":
- Document/0x0[5-6]c*

"tools":
- Document/0x08*
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit c282520

Please sign in to comment.