Skip to content

chore: make sure auto-approve and automerge work for Dependabot #86

chore: make sure auto-approve and automerge work for Dependabot

chore: make sure auto-approve and automerge work for Dependabot #86

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: automerge
on:
pull_request:
types:
- opened
- labeled
- ready_for_review
- reopened
- synchronize
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
automerge:
runs-on: ubuntu-latest
permissions:
contents: read
if: contains(github.event.pull_request.labels.*.name, 'automerge') && github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Turn on automerge for this PR
env:
GH_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }}
run: gh pr merge --auto --squash ${{ github.event.pull_request.number }}