Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
update & format action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed Dec 8, 2022
1 parent 0eedbbb commit 15a0ff6
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
name: 'ChatGPT Integration'
description: 'This action integrates ChatGPT into your CI.'
name: "ChatGPT Integration"
description: "This action integrates ChatGPT into your CI."
branding:
icon: activity
color: green

inputs:
number:
description: 'ID of Pull Request or Issue'
description: "ID of Pull Request or Issue"
required: true
sessionToken:
description: 'Your ChatGPT session token.'
description: "Your ChatGPT session token."
required: true
mode:
description: 'Mode'
description: "Mode"
required: true
default: 'pr'
default: "pr"
split:
description: 'Should I split the prompt and how to split it?'
description: "Should I split the prompt and how to split it?"
required: true
default: 'yolo'
default: "yolo"
outputs:
comment:
description: 'The comment from chatgpt.'
description: "The comment from chatgpt."
runs:
using: 'node16'
main: 'dist/index.js'
using: "node16"
main: "dist/index.js"

0 comments on commit 15a0ff6

Please # to comment.