Skip to content

deps(client)(deps-dev): bump the all-deps group across 1 directory with 2 updates #247

deps(client)(deps-dev): bump the all-deps group across 1 directory with 2 updates

deps(client)(deps-dev): bump the all-deps group across 1 directory with 2 updates #247

name: Dependabot Auto-Merge
on:
pull_request:
types: [opened, synchronize, labeled]
pull_request_target:
types: [opened, synchronize, labeled]
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Dependabot metadata
id: meta
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for minor/patch
if: ${{ steps.meta.outputs.update-type == 'version-update:semver-minor' || steps.meta.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --squash "$PR_URL"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}