2019-10-18 15:51:16 +02:00
|
|
|
# This workflow will triage pull requests and apply a label based on the
|
2019-10-16 18:30:34 +01:00
|
|
|
# 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:
|
2020-07-13 12:13:03 -07:00
|
|
|
# https://github.com/actions/labeler
|
2019-10-16 18:30:34 +01:00
|
|
|
|
2019-08-06 17:41:07 -07:00
|
|
|
name: Labeler
|
2019-08-08 19:48:57 +01:00
|
|
|
on: [pull_request]
|
2019-08-06 17:41:07 -07:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
label:
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
2021-03-02 19:59:19 -06:00
|
|
|
permissions:
|
|
|
|
|
contents: read
|
|
|
|
|
pull-requests: write
|
2019-08-06 17:41:07 -07:00
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/labeler@v2
|
|
|
|
|
with:
|
2019-10-16 18:30:34 +01:00
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|