Skip to content

chore(server): rewrite resolveHTTPResponse with Fetch #11446

chore(server): rewrite resolveHTTPResponse with Fetch

chore(server): rewrite resolveHTTPResponse with Fetch #11446

# https://stackoverflow.com/q/70664840/590396
name: Dependabot auto-approve
on: pull_request_target
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]' }}
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.TRPC_GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.TRPC_GITHUB_TOKEN}}