Skip to content

build(dev)(deps-dev): bump eslint from 8.51.0 to 8.52.0 #330

build(dev)(deps-dev): bump eslint from 8.51.0 to 8.52.0

build(dev)(deps-dev): bump eslint from 8.51.0 to 8.52.0 #330

name: Dependabot auto-merge
on:
pull_request_target
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: 'Auto approve PR by Dependabot'
uses: hmarr/[email protected]
with:
github-token: "${{ secrets.REPOMGR_GITHUB_TOKEN }}"
- name: 'Comment merge command'
uses: actions/github-script@v3
with:
github-token: ${{secrets.REPOMGR_GITHUB_TOKEN }}
script: |
await github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: '@dependabot squash and merge'
})