From 20d9256aa9e79771dc5564ee431a6d386d83a20a Mon Sep 17 00:00:00 2001 From: dess Date: Sat, 4 May 2024 18:37:10 -0400 Subject: [PATCH] ci: add labeler --- .github/labeler.yml | 14 ++++++++++++++ .github/workflows/label.yml | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..da0b5d9 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,14 @@ +modifies labeler: + - .github/labeler.yml +modifies ci: + - .github/workflows/*.yml +modifies docker: + - '**/Dockerfile' + - '**/docker-compose.yml' + - '**/*.env' +modifies api: + - api/**/* +modifies gui: + - gui/**/* +modifies nix: + - '**/*.nix' \ No newline at end of file diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..0b01216 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,13 @@ +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 }}" \ No newline at end of file