Skip to content

Auto Review Bot

Auto Review Bot #6

on:
workflow_run:
workflows:
- Auto Review Bot Trigger
types:
- completed
name: Auto Review Bot
jobs:
auto-review-bot:
runs-on: ubuntu-latest
name: Run
steps:
- name: Fetch PR Number
uses: dawidd6/action-download-artifact@6765a42d86407a3d532749069ac03705ad82ebc6
with:
name: pr-number
workflow: auto-review-trigger.yml
run_id: ${{ github.event.workflow_run.id }}
- name: Save PR Number
id: save-pr-number
run: echo "pr=$(cat pr-number.txt)" >> $GITHUB_OUTPUT
- name: Auto Review Bot
id: auto-review-bot
uses: Pandapip1/eip-review-bot@dist
with:
token: ${{ secrets.TOKEN }}
config: config/eip-editors.yml
pr_number: ${{ steps.save-pr-number.outputs.pr }}
- name: Enable Auto-Merge
uses: reitermarkus/automerge@a25ea0de41019ad13380d22e01db8f5638f1bcdc
with:
token: ${{ secrets.TOKEN }}
pull-request: ${{ steps.save-pr-number.outputs.pr }}
- name: Submit Approval
uses: hmarr/auto-approve-action@24ec4c8cc344fe1cdde70ff37e55ace9e848a1d8
with:
github-token: ${{ secrets.TOKEN }}
pull-request-number: ${{ steps.save-pr-number.outputs.pr }}