Skip to content

[NEXMANAGE-899] Fix dispatcher not recording state file and causing snapshot failure #213

[NEXMANAGE-899] Fix dispatcher not recording state file and causing snapshot failure

[NEXMANAGE-899] Fix dispatcher not recording state file and causing snapshot failure #213

name: CODE REVIEW REPORT
on:
#pull_request:
# types: [opened, edited, reopened, synchronize]
issue_comment:
permissions: read-all
jobs:
pr_agent_report:
permissions:
contents: write
pull-requests: write
if: (contains(github.event.comment.body, '/generate_report') && github.event.comment.user.login != 'nex-maximus') ||
github.event_name == 'pull_request' && github.event.pull_request.user.login != 'nex-maximus'
runs-on: [intel-ubuntu-latest, maximus-unit-test]
steps:
- name: PR Agent action step
id: pragent
run: |
cd ../../../genai_pr_agent
chmod +x ./get_pr_eval_report.sh
./get_pr_eval_report.sh
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
USE_CUSTOM_MODEL: true
CUSTOM_PROD_API_BASE: ${{ secrets.CUSTOM_PROD_API_BASE }}
CUSTOM_PROD_API_KEY: ${{ secrets.CUSTOM_PROD_API_KEY }}
GPT4128K_DEPLOY_NAME: ${{ secrets.GPT4128K_DEPLOY_NAME }}
CUSTOM_API_VERSION: ${{ secrets.CUSTOM_API_VERSION }}