Skip to content

add auto-merge workflow #1

add auto-merge workflow

add auto-merge workflow #1

Workflow file for this run

on: pull_request
name: Auto merge
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
name: Dependabot
runs-on: ubuntu-22.04
if: github.actor == 'dependabot[bot]'
steps:
- run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}