Skip to content

no vet in test

no vet in test #29

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 }}