diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..965bcc7 --- /dev/null +++ b/.github/labeler.yml @@ -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/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..18930f2 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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