diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..661b8033b1 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +# https://github.com/actions/labeler/blob/main/README.md + +"doc-required": + - "doc/**/*" + - "**/*.rst" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..a353066600 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2.1.1 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}'