diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..be2f10f17c8 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +# Add 'documentation' to any change in apps/docs +# https://github.com/marketplace/actions/labeler +documentation: +- changed-files: + - any-glob-to-any-file: 'apps/docs/**/*' diff --git a/.github/workflows/label_prs.yml b/.github/workflows/label_prs.yml new file mode 100644 index 00000000000..13c4f868a8e --- /dev/null +++ b/.github/workflows/label_prs.yml @@ -0,0 +1,13 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/labeler@v6