Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Bump react and react-dom #16

Bump react and react-dom

Bump react and react-dom #16

name: Dependabot auto-merge
on:
pull_request_target
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: 'Auto approve PR by Dependabot'
uses: hmarr/auto-approve-action@v2.0.0
with:
github-token: "${{ secrets.PERSONAL_GITHUB_BOT_SECRET }}"
- name: 'Comment merge command'
uses: actions/github-script@v3
with:
github-token: ${{secrets.PERSONAL_GITHUB_BOT_SECRET }}
script: |
await github.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: '@dependabot squash and merge'
})