Skip to content

Approve by automation #1

Approve by automation

Approve by automation #1

name: Approve by automation
on:
workflow_dispatch:
jobs:
approve-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'approve a pull request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review ${{ env.PR_NUMBER }} --approve --body "approved by automation"