diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..0f39cc3eb --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,21 @@ +# See https://github.com/actions/labeler + +example: +- examples/**/* + +action: +- .github/workflows/** + +docs: +- docs/** + +www: +- www/** + +i18n: +- any: + - 'docs/src/pages/*/**' + - '!docs/src/pages/core-concepts/**' + - '!docs/src/pages/guides/**' + - '!docs/src/pages/migration/**' + - '!docs/src/pages/reference/**' diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000..39929e9bc --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,12 @@ +name: Label PRs + +on: + - pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v3 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"