Bump @types/react from 18.2.69 to 18.2.70 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |