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

Commit

Permalink
Merge pull request #22 from kxxt/feat2
Browse files Browse the repository at this point in the history
clean up chatgpt workflow and update readme.
  • Loading branch information
kxxt authored Dec 8, 2022
2 parents 64a7db8 + a8ad840 commit 36364fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml → .github/workflows/chatgpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ jobs:
split: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get the output from ChatGPT
run: echo "ChatGPT commented, ${{ steps.hello.outputs.comment }}"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
name: Let chatgpt comment on your PR.
steps:
- name: ChatGPT comment
uses: kxxt/chatgpt-action@HEAD
uses: kxxt/chatgpt-action@v0.1
id: chatgpt
with:
number: ${{ github.event.pull_request.number }}
sessionToken: ${{ secrets.CHATGPT_SESSION_TOKEN }}
split: 'yolo' # Use true to enable the unstable split feature.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

0 comments on commit 36364fb

Please sign in to comment.