diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..7e7035cc --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +text: +- src/pages/*.md + +code: +- src/**/*.{js,html,css} + +npm: +- npm/**/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 00000000..c01c3569 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,12 @@ +name: Labeler +on: [pull_request] + +jobs: + label: + + runs-on: ubuntu-latest + + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"