get.porter.sh/porter@v1.3.0/.github/workflows/prow-commands.yaml (about)

     1  # https://github.com/jpmcb/prow-github-actions
     2  
     3  # This reacts to issue comments and checks for prow slash comments, and runs the command if found.
     4  name: "React to Prow Commands"
     5  on: [issue_comment]
     6  permissions:
     7    issues: write # give permission to apply the lgtm label
     8    pull-requests: write # give permission to approve the PR
     9  
    10  jobs:
    11    execute:
    12      runs-on: ubuntu-latest
    13      steps:
    14        - uses: jpmcb/prow-github-actions@2ac4434b3ce3d523fc3e28a879ec671c4a7750fa # main
    15          with:
    16            prow-commands: |
    17              /approve
    18              /lgtm
    19            github-token: "${{ secrets.GITHUB_TOKEN }}"