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

     1  # https://github.com/jpmcb/prow-github-actions
     2  
     3  # This will check all pull requests that have the lgtm label, and if GitHub thinks it is mergeable, then the PR is merged.
     4  name: "Merge Ready PRs"
     5  on: [pull_request]
     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            jobs: "lgtm"
    17            github-token: "${{ secrets.GITHUB_TOKEN }}"