• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This workflow will triage pull requests and apply a label based on the
2# paths that are modified in the pull request.
3#
4# To use this workflow, you will need to set up a .github/labeler.yml
5# file with configuration.  For more information, see:
6# https://github.com/actions/labeler
7
8name: Labeler
9permissions: read-all
10
11on: [pull_request_target]
12
13jobs:
14  label:
15    permissions:
16      contents: read
17      pull-requests: write
18
19    runs-on: ubuntu-latest
20
21    steps:
22    - uses: actions/labeler@ee18d5d34efd9b4f7dafdb0e363cb688eb438044 # 4.1.0
23      with:
24        repo-token: "${{ secrets.GITHUB_TOKEN }}"
25