Skip to content

ci(deps): bump the all group with 2 updates #13

ci(deps): bump the all group with 2 updates

ci(deps): bump the all group with 2 updates #13

name: Dependabot auto-merge
permissions:
contents: write
pull-requests: write
on:
pull_request:
branches:
- main
jobs:
auto-merge:
name: Approve and Auto-Merge
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Approve PR
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr review --approve "$PR_URL"
- name: Enable auto-merge
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --auto --squash "$PR_URL"