Skip to content

chore(deps-dev): bump eslint-plugin-import from 2.29.0 to 2.30.0 #289

chore(deps-dev): bump eslint-plugin-import from 2.29.0 to 2.30.0

chore(deps-dev): bump eslint-plugin-import from 2.29.0 to 2.30.0 #289

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.AUTOMERGE_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.AUTOMERGE_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.AUTOMERGE_TOKEN}}