Skip to content

Bump @testing-library/react from 14.1.2 to 14.2.1 #1228

Bump @testing-library/react from 14.1.2 to 14.2.1

Bump @testing-library/react from 14.1.2 to 14.2.1 #1228

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