Skip to content

build(deps-dev): Bump @types/node from 18.0.0 to 20.8.0 #667

build(deps-dev): Bump @types/node from 18.0.0 to 20.8.0

build(deps-dev): Bump @types/node from 18.0.0 to 20.8.0 #667

Workflow file for this run

name: Dependabot-integration
on:
pull_request_target
jobs:
dependabot:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.2
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}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}