Skip to content

[CORE-105] Update auto-approve-broadbot-prs.yml #5

[CORE-105] Update auto-approve-broadbot-prs.yml

[CORE-105] Update auto-approve-broadbot-prs.yml #5

name: Broadbot auto-approve
on: pull_request
permissions:
pull-requests: write
jobs:
broadbot:
runs-on: ubuntu-latest
if: github.actor == 'broadbot'
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.BROADBOT_TOKEN }}