Skip to content

fix(deps): update golang.org/x/exp digest to a85f2c6 #50

fix(deps): update golang.org/x/exp digest to a85f2c6

fix(deps): update golang.org/x/exp digest to a85f2c6 #50

name: auto-approve
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
auto-approve:
runs-on: ubuntu-latest
if: ${{ github.actor == 'renovate[bot]' || github.actor == 'dependabot[bot]' }}
steps:
- name: Approve Renovate PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GYGROBOT_TOKEN }}
- name: auto-merge Dependabot PRs
if: ${{ github.actor == 'dependabot[bot]' }}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ github.token }}