Skip to content

build(deps-dev): bump ruff from 0.6.9 to 0.7.1 #14

build(deps-dev): bump ruff from 0.6.9 to 0.7.1

build(deps-dev): bump ruff from 0.6.9 to 0.7.1 #14

name: Dependabot auto-merge
on: pull_request
permissions:
pull-requests: write
issues: write
contents: write
repository-projects: write
jobs:
approve-and-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Auto merge for Dependabot PR
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}