diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..57b17c6 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,22 @@ +# Configuration for GitHub PR Labeler +# https://github.com/actions/labeler + +conduit: + - changed-files: + - any-glob-to-any-file: "apps/conduit/**/*" + +www: + - changed-files: + - any-glob-to-any-file: "apps/www/**/*" + +docs: + - changed-files: + - any-glob-to-any-file: ["**/*.md"] + +tests: + - changed-files: + - any-glob-to-any-file: ["**/*.test.ts", "**/*.test.tsx"] + +"github actions": + - changed-files: + - any-glob-to-any-file: ".github/**/*" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..103768f --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +name: "Pull Request Labeler" + +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v6 + with: + sync-labels: true