Skip to content

build(deps): bump @testing-library/user-event from 13.5.0 to 14.5.2 #34

build(deps): bump @testing-library/user-event from 13.5.0 to 14.5.2

build(deps): bump @testing-library/user-event from 13.5.0 to 14.5.2 #34

name: Dependabot auto-approve
on: pull_request
permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'afarago/blpy.attilafarago.hu'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{github.token}}
- name: Enable auto-merge for Dependabot PRs
# if: ${{steps.dependabot-metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{github.token}}