mirror of
https://github.com/ingress-it-solutions/gitea-code-review-action.git
synced 2025-04-20 11:06:47 +00:00
commit
daa815107d
1 changed files with 2 additions and 3 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue