diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..0918f61a0 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,4 @@ +# Add 'documentation' label to any changes within 'docs' folder or any subfolders +documentation: +- changed-files: + - any-glob-to-any-file: docs/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..2d9931c6e --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: Pull Request Labeler +on: + pull_request_target: + branches: + - main + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5