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

Commit

Permalink
rename action
Browse files Browse the repository at this point in the history
  • Loading branch information
harjotgill committed Mar 10, 2023
1 parent 711470a commit 23d0694
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ChatGPT based PR reviewer and summarizer

Based on [ChatGPT Action](https://github.com/unsafecoerce/chatgpt-action)
Based on [ChatGPT Action](https://github.com/unsafecoerce/chatgpt-pr-reviewer)
by [Tao He](https://github.com/sighingnow).

## Overview
Expand All @@ -10,7 +10,7 @@ by [Tao He](https://github.com/sighingnow).
- Code review your pull requests

```yaml
- uses: fluxninja/chatgpt-action@main
- uses: fluxninja/chatgpt-pr-reviewer@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHATGPT_ACCESS_TOKEN: ${{ secrets.CHATGPT_ACCESS_TOKEN }}
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{github.event.pull_request.head.ref}}
submodules: false
- uses: fluxninja/chatgpt-action@main
- uses: fluxninja/chatgpt-pr-reviewer@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHATGPT_ACCESS_TOKEN: ${{ secrets.CHATGPT_ACCESS_TOKEN }}
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
ref: ${{github.event.pull_request.head.ref}}
submodules: false

- uses: fluxninja/chatgpt-action@main
- uses: fluxninja/chatgpt-pr-reviewer@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down Expand Up @@ -161,5 +161,5 @@ prefer the `ChatGPTUnofficialProxyAPI` implementation.

Set `debug: true` in the workflow file to enable debug mode, which will show the messages

[1]: https://github.com/marketplace?type=&verification=&query=chatgpt-action+
[1]: https://github.com/marketplace?type=&verification=&query=chatgpt-pr-reviewer+
[2]: https://www.npmjs.com/package/chatgpt
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'chatgpt-action'
name: 'chatgpt-pr-reviewer'
description: 'ChatGPT based PR reviewer and summarizer'
inputs:
debug:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "chatgpt-action",
"name": "chatgpt-pr-reviewer",
"version": "0.0.0",
"private": true,
"type": "module",
Expand All @@ -17,14 +17,13 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/unsafecoerce/chatgpt-action.git"
"url": "git+https://github.com/fluxninja/chatgpt-pr-reviewer.git"
},
"keywords": [
"actions",
"node",
"setup"
],
"author": "Tao He <[email protected]>",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.0",
Expand Down

0 comments on commit 23d0694

Please sign in to comment.