Skip to content

tbh ts pmo icl 😭🙏🏽 #135

tbh ts pmo icl 😭🙏🏽

tbh ts pmo icl 😭🙏🏽 #135

Workflow file for this run

name: AI Code Reviewer
on:
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
ai_review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Generate App Token
id: generated_token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Dependencies
run: |
pip install -r requirements.txt
pip install PyGithub
- name: Run AI Code Reviewer
env:
GITHUB_TOKEN: ${{ steps.generated_token.outputs.token }}
BOT: ${{ secrets.BOT }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: python etc/tool/copilot.py