You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/gptreview-ghaction/README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ Below are the files present here:
14
14
15
15
## How To Run This Example
16
16
17
-
- Create a new repository in your GitHub account and create a `codereview.gpt` file in that repo based on the contents provided in this file.
18
-
- Congfigure a GitHub Action for that repositoryand copy the contents from `workflow.yaml` to your `main.yaml`.
19
-
- Configure your `OPENAI_API_KEY` and `GH_TOKEN` as environment variables.
20
-
-Add some code file to the repository and open a new pull request.
17
+
- Create a new repository in your GitHub account and create a `codereview.gpt` file in the root of that repo based on the contents provided in this file.
18
+
- Congfigure a GitHub Action for that repository. To do so, navigate to the "Actions" tab and then click on "setup a workflow yourself" link. This will create a new `main.yaml` inside `.github/workflows` path. Copy the contents from `workflow.yaml` to your `main.yaml`.
19
+
- Configure your `OPENAI_API_KEY` and `GH_TOKEN` as environment variables in your GitHub repo. Refer to [these steps](https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository) to create environment variables for your repository.
20
+
-Create a new branch, and add some code file to the repository and open a new pull request.
21
21
- The GitHub Action will trigger and our GPTReview will review your code and provide review comments.
0 commit comments