Skip to content

chore(deps-dev): bump @types/node from 22.7.7 to 22.8.1 #145

chore(deps-dev): bump @types/node from 22.7.7 to 22.8.1

chore(deps-dev): bump @types/node from 22.7.7 to 22.8.1 #145

name: Dependabot auto-merge
on: pull_request_target
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
if: ${{ !github.event.pull_request.auto_merge }}
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_REVIEW_GITHUB_TOKEN }}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
if: ${{ !github.event.pull_request.auto_merge }}
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_REVIEW_GITHUB_TOKEN }}