Update code-review.yml
This commit is contained in:
6
.github/workflows/code-review.yml
vendored
6
.github/workflows/code-review.yml
vendored
@@ -2,6 +2,8 @@ name: Code Review
|
|||||||
on:
|
on:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created, edited]
|
types: [created, edited]
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code-review:
|
code-review:
|
||||||
@@ -11,7 +13,7 @@ jobs:
|
|||||||
uses: ingress-it-solutions/gitea-code-review-action@v1.9
|
uses: ingress-it-solutions/gitea-code-review-action@v1.9
|
||||||
with:
|
with:
|
||||||
PROGRAMMING_LANGUAGE: 'c#'
|
PROGRAMMING_LANGUAGE: 'c#'
|
||||||
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
|
OPENAI_TOKEN: ${{ secrets.OPENAI_API_KEY }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||||
FULL_REVIEW_COMMENT: 'openai'
|
FULL_REVIEW_COMMENT: 'openai'
|
||||||
REVIEW_COMMENT_PREFIX: 'openai:'
|
REVIEW_COMMENT_PREFIX: 'openai:'
|
||||||
Reference in New Issue
Block a user