ci: Add PR labeler (#71)

This commit is contained in:
Krypton
2025-10-04 21:12:51 +02:00
committed by GitHub
parent ee597c1f6c
commit 79b54d35fc
2 changed files with 79 additions and 0 deletions

59
.github/labeler.yml vendored Normal file
View 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
View 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