Skip to content

Replace axios with native fetch #189

Replace axios with native fetch

Replace axios with native fetch #189

name: auto-approve dependabot PRs
on:
pull_request_target:
jobs:
run:
name: auto-approve dependabot PRs
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: gh pr review "$GITHUB_HEAD_REF" --approve
- run: gh pr merge "$GITHUB_HEAD_REF" --auto --squash