Skip to content

Bot

Bot #728

Workflow file for this run

name: Bot
on:
pull_request_review:
types: [ submitted ]
jobs:
Bot:
name: Update Review Stage
if: ((! github.event.pull_request.draft) && (github.event.review.user.type != 'Bot' ))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install python dependencies
run: |
python -m pip install requests
- name: "Generate token"
id: token
uses: ./.github/actions/generate_bot_token
with:
bot_pem: "${{ secrets.BOT_PEM }}"
- id: run_bot
run: |
python ci_tools/bot_review_react.py
env:
GH_TOKEN: ${{ github.token }}