ci: Add PR labeler (#71)
This commit is contained in:
59
.github/labeler.yml
vendored
Normal file
59
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
category/discovery:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/discovery/**/*
|
||||||
|
|
||||||
|
category/famous:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/famous/**/*
|
||||||
|
|
||||||
|
category/htb:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/htb/**/*
|
||||||
|
|
||||||
|
category/languages:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/languages/**/*
|
||||||
|
|
||||||
|
category/miscellaneous:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/miscellaneous/**/*
|
||||||
|
|
||||||
|
category/names:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/names/**/*
|
||||||
|
|
||||||
|
category/passwords:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/passwords/**/*
|
||||||
|
|
||||||
|
category/security-question-answers:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/security_question_answers/**/*
|
||||||
|
|
||||||
|
category/stressing:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/stressing/**/*
|
||||||
|
|
||||||
|
category/user-agents:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/user_agents/**/*
|
||||||
|
|
||||||
|
category/usernames:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/usernames/**/*
|
||||||
|
|
||||||
|
category/vulnerabilities:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- wordlists/vulnerabilities/**/*
|
||||||
20
.github/workflows/labeler.yml
vendored
Normal file
20
.github/workflows/labeler.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Labeler
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request_target:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
labeler:
|
||||||
|
name: Labeler
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- name: Labeler
|
||||||
|
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6
|
||||||
|
with:
|
||||||
|
configuration-path: .github/labeler.yml
|
||||||
Reference in New Issue
Block a user