👷 Add pull request labelling workflow

pull/4/head
James Panther 2021-09-20 15:02:10 +10:00
parent 661016d3be
commit 9c5e624bb6
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 22 additions and 0 deletions

5
.github/labeller.yml vendored 100644
View File

@ -0,0 +1,5 @@
i18n:
- i18n/*
documentation:
- exampleSite/content/*

17
.github/workflows/label.yml vendored 100644
View File

@ -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