diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..c586c02 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,42 @@ +# .github/labeler.yml + +"CLI Package": + - cli/**/* + +"Database Package": + - database/**/* + +"Init Package": + - init/**/* + +"Models Package": + - models/**/* + +"Net Package": + - net/**/* + +"System Package": + - system/**/* + +"Updater Package": + - updater/**/* + +"Utils Package": + - utils/**/* + +"Version Package": + - version/**/* + +"Main Package": + - "*" + - "!.github/**/*" + - "!database/**/*" + - "!cli/**/*" + - "!init/**/*" + - "!models/**/*" + - "!net/**/*" + - "!system/**/*" + - "!updater/**/*" + - "!utils/**/*" + - "!version/**/*" + diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..f69b658 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +name: Labeler +on: [pull_request_target] + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" +