Skip to content

chore(deps-dev): bump jsdom from 28.0.0 to 28.1.0 #139

chore(deps-dev): bump jsdom from 28.0.0 to 28.1.0

chore(deps-dev): bump jsdom from 28.0.0 to 28.1.0 #139

name: Dependabot Auto-Merge
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
contents: write
pull-requests: write
jobs:
dependabot-auto-merge:
name: Auto-merge non-major updates
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.DEPENDABOT_TOKEN }}"
- name: Approve PR
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
- name: Enable auto-merge for non-major updates
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}