Skip to content

chore(ci): bump docker/setup-qemu-action from 3 to 4 #7

chore(ci): bump docker/setup-qemu-action from 3 to 4

chore(ci): bump docker/setup-qemu-action from 3 to 4 #7

# Auto-approve and queue Dependabot PRs for merge when the update type
# is non-major. Major bumps stay open for human review.
name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
name: Auto-merge non-major Dependabot bumps
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v3
- name: Approve and enable auto-merge for non-major bumps
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}