Skip to content

fix: refuse inputs that could delete, wipe or leak, and bound search paging #182

fix: refuse inputs that could delete, wipe or leak, and bound search paging

fix: refuse inputs that could delete, wipe or leak, and bound search paging #182

name: Dependabot auto-merge

Check warning on line 1 in .github/workflows/dependabot-auto-merge.yml

View workflow run for this annotation

GitHub Actions / Dependabot auto-merge

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
# Auto-merges Dependabot pull requests for non-major version bumps once
# branch protection's required checks pass. Major-version bumps are left
# for manual review.
#
# Requires:
# - Repository setting "Allow auto-merge" enabled.
# - Branch protection on `main` with the test check marked required.
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
name: Auto-merge non-major Dependabot PRs
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Read Dependabot metadata
id: meta
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
- name: Enable auto-merge
if: steps.meta.outputs.update-type != 'version-update:semver-major'
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --auto --squash "$PR_URL"