Skip to content

Enable "Merge when ready" on PR #1507 #1504

Enable "Merge when ready" on PR #1507

Enable "Merge when ready" on PR #1507 #1504

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"
if: "!github.event.pull_request.draft"
steps:
- uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.PROJEN_GITHUB_TOKEN }}
pull-request-number: ${{ github.event.number }}
merge-method: squash