chore(github): add pull request labeler for packages (#22219)

This commit is contained in:
Brandy Carney
2020-09-30 18:10:25 -04:00
committed by GitHub
parent f81d18c6f9
commit a8fbb34844
3 changed files with 40 additions and 16 deletions

19
.github/workflows/label.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
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 }}"
sync-labels: true