Skip to main content

Generates AI Code Reviews

Project description

Second Opinion 🩺 (AI Code Review)

A github action which reviews your code

Example Usage

name: Second Opinion - AI Code Review
run-name: Second Opinion - Diagnosing code 🩺
on: 
  pull_request:
    types: [opened, synchronize]

jobs:
  second-opinion:
    permissions:
      pull-requests: write
      contents: read
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v4
        with:
          fetch-depth: 2

      - name: Generate A Second Opinion
        uses: wayneplural/second-opinion@v1
        with:
          azure-openai-api-endpoint: "https://openaiplural.openai.azure.com/"
          azure-openai-api-key: ${{ secrets.AZURE_OPENAI_API_KEY }}
          api-version: "2024-05-01-preview"
      

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

second_opinion-1.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

second_opinion-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file second_opinion-1.0.1.tar.gz.

File metadata

  • Download URL: second_opinion-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for second_opinion-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6f6e173d40afb7e5f1566315262b5af0bd2fa2fbadc30e477e70425c3ba9f881
MD5 0c255ad2e5495ff62714a0b7ad7f94eb
BLAKE2b-256 1ba881747894addbc60d572546daa1c9596df6d2065b9deaae4be317e2ea1938

See more details on using hashes here.

Provenance

File details

Details for the file second_opinion-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for second_opinion-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a484e73b961902281cd0a4b08aeee57d36afad48662b613edd5dbcfc873b5420
MD5 2e8dfe0f661577c534213638c467c2ec
BLAKE2b-256 85b4c4da00531b26257f38a612083aab0f041a20e0dd3a244d7a8862991e7984

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page