Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

chore: streamline docs, CI workflows, and release automation #111

chore: streamline docs, CI workflows, and release automation

chore: streamline docs, CI workflows, and release automation #111

name: dependabot-auto-merge
on:
pull_request_target:
types: [opened, reopened, synchronize]
permissions:
pull-requests: write
contents: write
concurrency:
group: dependabot-auto-merge-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && ! github.event.pull_request.draft }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.5.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for patch and minor updates
if: ${{ contains(fromJSON('["version-update:semver-patch","version-update:semver-minor"]'), steps.metadata.outputs.update-type) }}
run: gh pr merge --auto --merge "${{ github.event.pull_request.html_url }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}