diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..e73c9ffd96 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +module/client: + - changed-files: + - any-glob-to-any-file: 'client/**' + +module/api: + - changed-files: + - any-glob-to-any-file: 'api/**' + diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..1d2cb26d53 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,18 @@ +name: "Labeler" +on: + pull_request_target: + +permissions: + contents: read + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: Labels + uses: actions/labeler@v6 + with: + sync-labels: true