...

Text file src/github.com/spf13/cobra/.github/workflows/labeler.yml

Documentation: github.com/spf13/cobra/.github/workflows

     1name: "Pull Request Labeler"
     2on:
     3- pull_request_target
     4
     5permissions:
     6  contents: read
     7
     8jobs:
     9  triage:
    10    permissions:
    11      contents: read  # for actions/labeler to determine modified files
    12      pull-requests: write  # for actions/labeler to add labels to PRs
    13    runs-on: ubuntu-latest
    14    steps:
    15    - uses: actions/labeler@v4
    16      with:
    17        repo-token: "${{ github.token }}"
    18

View as plain text