From c9752feac66840350518eb18d1bc089b8c820411 Mon Sep 17 00:00:00 2001 From: Christoffer Hansen Date: Sat, 23 Mar 2024 23:44:17 +0100 Subject: [PATCH] Labeler added --- .github/labeler.yml | 42 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 15 +++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml 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 }}" +