Skip to content

Fixed issue

Fixed issue #59

Workflow file for this run

name: Code Review
on:
pull_request:
types: [opened]
issue_comment:
types: [created, edited]
jobs:
code-review:
if: |
github.event_name == 'pull_request' ||
(github.event.comment.user.login == 'vandanafuletra' &&
startsWith(github.event.comment.body, 'openai'))
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: hmarr/debug-action@v2
- name: Gitea Code Review
uses: ./
with:
PROGRAMMING_LANGUAGE: 'JavaScript'
REVIEW_COMMENT_PREFIX: 'openai:'
FULL_REVIEW_COMMENT: 'openai'
OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SOURCE_AT: 'github'