Skip to content

Bump @types/react from 18.2.69 to 18.2.70 #4

Bump @types/react from 18.2.69 to 18.2.70

Bump @types/react from 18.2.69 to 18.2.70 #4

name: "Auto Merge Dependabot PR's"
on:
pull_request:
branches:
- main
types: [ opened, synchronize ]
jobs:
merge-dependabot-pr:
name: "Approve and merge Dependabot PR"
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: "Log PR title"
run: echo "PR title is ${{ github.event.pull_request.title }}"
- name: "Approve the PR"
run: gh pr review --approve "$PR_NUMBER"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Merge the PR"
run: gh pr merge --squash "$PR_NUMBER"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}