Skip to content

build(deps-dev): Bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.15.0 #2465

build(deps-dev): Bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.15.0

build(deps-dev): Bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.15.0 #2465

name: Dependabot auto approval
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.GITHUB_TOKEN }}'
- name: Approve a PR
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
run: |
gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}