diff --git a/.gitea/labeler.yml b/.gitea/labeler.yml new file mode 100644 index 0000000..880aa6d --- /dev/null +++ b/.gitea/labeler.yml @@ -0,0 +1,9 @@ +frontend: + - changed-files: + - any-glob-to-any-file: + - "frontend/**" + +backend: + - changed-files: + - any-glob-to-any-file: + - "backend/**" diff --git a/.gitea/workflows/labeler.yml b/.gitea/workflows/labeler.yml new file mode 100644 index 0000000..e177ec3 --- /dev/null +++ b/.gitea/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + configuration-path: ".gitea/labeler.yml"