Skip to content

Commit d76760b

Browse files
Update README.md
Added more information for the GITHUB_ACTION as it was confusing and no details were provided.
1 parent 8dff117 commit d76760b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: AI Code Reviewer
4141
uses: your-username/ai-code-reviewer@main
4242
with:
43-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
4444
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
4545
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
4646
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas

0 commit comments

Comments
 (0)