Skip to content

Enable "Merge when ready" on PR #2336 #2345

Enable "Merge when ready" on PR #2336

Enable "Merge when ready" on PR #2336 #2345

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: auto-merge
run-name: 'Enable "Merge when ready" on PR #${{ github.event.number }}'
on:
pull_request_target:
types:
- opened
- reopened
- ready_for_review
jobs:
enable-auto-merge:
name: Enable "Merge when ready" for this PR
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
env:
CI: "true"
steps:
- uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
pull-request-number: ${{ github.event.number }}
merge-method: squash