infra: Convert from old autolabeler GitHub App to new GitHub actions version.

The old autolabeler GitHub App is no longer supported and broken. The
new GitHub actions autolabeler is maintained by GitHub.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2020-11-07 10:25:27 -08:00
parent 63cf4d9b39
commit 99f179d211
2 changed files with 11 additions and 0 deletions

11
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"