Skip to content

chore: update workflows #106

chore: update workflows

chore: update workflows #106

Workflow file for this run

# will be removed when this project has more than one maintainers
name: AutoApprove
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
jobs:
approve:
if: |
github.event.pull_request.user.login == 'kanarus' &&
!github.event.pull_request.draft
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: approve
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr review ${{ github.event.number }} --approve