Fixed readme

This commit is contained in:
Bhavik MacBook PRO 16 2023-04-05 13:37:41 +05:30
parent 39196cfe3c
commit 4ffdb27b93

View file

@ -13,8 +13,8 @@ name: OpenAI Code Review
uses: bhavik/gitea-code-review-action@v0.1 uses: bhavik/gitea-code-review-action@v0.1
with: with:
PROGRAMMING_LANGUAGE: 'JavaScript' PROGRAMMING_LANGUAGE: 'JavaScript'
REVIEW_COMMENT_PREFIX: 'crai:' REVIEW_COMMENT_PREFIX: 'openai:'
FULL_REVIEW_COMMENT: 'crai' FULL_REVIEW_COMMENT: 'openai'
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
``` ```
@ -53,7 +53,6 @@ Here's an example workflow that uses this action to analyze code in pull request
```yaml ```yaml
name: Code Review name: Code Review
on: on:
issue_comment: issue_comment:
types: [created, edited] types: [created, edited]