Skip to content

chore(deps-dev): bump the major-updates group across 1 directory with 4 updates #187

chore(deps-dev): bump the major-updates group across 1 directory with 4 updates

chore(deps-dev): bump the major-updates group across 1 directory with 4 updates #187

name: Dependabot Auto Merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot-auto-merge:
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Dependabot Metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable Auto Merge for Dependabot PRs
if: ${{steps.metadata.outputs.dependency-group == 'minor-and-patch-updates'}}
run: gh pr merge --auto --rebase $PR_URL
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}