infra: added auto labeler for prs

This commit is contained in:
anuraghazra 2020-08-08 21:14:06 +05:30
parent eaa7bf50bb
commit f4cbac043c
2 changed files with 12 additions and 0 deletions
.github

1
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1 @@
themes: themes/index.js

11
.github/workflows/label-pr.yml vendored Normal file
View File

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