diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..ef1e3a1 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +docs: + - docs/**/* +github: + - .github/**/* +examples: + - examples/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..7e72177 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: labeler + +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + + steps: + - name: labeler action + uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: ".github/labeler.yml"