...

Text file src/github.com/google/flatbuffers/.github/workflows/label.yml

Documentation: github.com/google/flatbuffers/.github/workflows

     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@main
    23      with:
    24        repo-token: "${{ secrets.GITHUB_TOKEN }}"

View as plain text