我有批准拉取请求的 GitHub 操作:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
当操作运行时,批准由 执行github-actions
。有什么方法可以gh pr review --approve
作为不同的用户执行吗?