Skip to content

Dependabot Auto-Merge #1

Dependabot Auto-Merge

Dependabot Auto-Merge #1

Workflow file for this run

name: Dependabot
on:
pull_request:
workflow_dispatch:
permissions:
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: approve
run: gh pr review --approve "$PR_URL"
- name: merge
run: gh pr merge --auto --squash --delete-branch "$PR_URL"