diff --git a/.github/labeller.yml b/.github/labeller.yml new file mode 100644 index 00000000..4287b874 --- /dev/null +++ b/.github/labeller.yml @@ -0,0 +1,5 @@ +i18n: + - i18n/* + +documentation: + - exampleSite/content/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 00000000..a1c9cdea --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,17 @@ +name: Labeller + +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - name: Label + uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeller.yml