2020-05-15 11:02:33 +00:00
|
|
|
# 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/blob/master/README.md
|
|
|
|
|
2020-05-16 15:19:38 +00:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
|
|
|
- pull_request
|
2020-05-15 11:02:33 +00:00
|
|
|
|
|
|
|
jobs:
|
2020-05-16 15:19:38 +00:00
|
|
|
triage:
|
2020-05-15 11:02:33 +00:00
|
|
|
runs-on: ubuntu-latest
|
2021-10-17 12:42:24 +00:00
|
|
|
if: ${{ github.actor == github.repository_owner }}
|
2020-05-15 11:02:33 +00:00
|
|
|
steps:
|
2020-05-16 15:19:38 +00:00
|
|
|
- uses: actions/labeler@v2
|
|
|
|
with:
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|