Skip to content

Setup‐Guide.md

Tmob edited this page Feb 4, 2025 · 1 revision

🔧 Intellizzer Setup Guide

Prerequisites

  • GitHub repository
  • OpenAI API account
  • Telegram Bot (optional)

Step-by-Step Configuration

1. Prepare Credentials

  • Obtain OpenAI API Key
  • Create Telegram Bot Token (optional)

2. GitHub Repository Secrets

Add the following secrets in your repository settings:

  • OPENAI_API_KEY: Your OpenAI API key
  • TELEGRAM_BOT_TOKEN: Telegram bot token (optional)
  • TELEGRAM_CHAT_ID: Telegram chat ID for notifications (optional)

3. Workflow File Example

Create .github/workflows/code-review.yml:

name: Intellizzer Code Reviewer
on:
  pull_request:
    types: [opened, synchronize]
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: blizzertech/Intellizzer@latest
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}