Skip to content

[CORE-105] Enable Single Reviewer Approval for Broadbot PRs #3

[CORE-105] Enable Single Reviewer Approval for Broadbot PRs

[CORE-105] Enable Single Reviewer Approval for Broadbot PRs #3

name: Broadbot auto-approve
on: pull_request
permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'broadbot[bot]'
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 }}