Skip to content

added ci chatgpt

added ci chatgpt #4

Workflow file for this run

on:
pull_request:
types: [opened, synchronize]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: ChatGPT explain code
steps:
- name: ChatGTP explain code
uses: cirolini/[email protected]
with:
openai_api_key: "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"
github_token: "ciaociao"
github_pr_id: ${{ github.event.number }}
# openai_engine: "text-davinci-002" #optional
# openai_temperature: 0.5 #optional
# openai_max_tokens: 2048 #optional
mode: file # file or patch