diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..83625ba --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +frontend: + - frontend/**/* + +backend: + - backend/**/* \ No newline at end of file diff --git a/.github/workflows/label.yaml b/.github/workflows/label.yaml new file mode 100644 index 0000000..dcf5a64 --- /dev/null +++ b/.github/workflows/label.yaml @@ -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@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file