Don't modify user or group on TiberOS as these files are immutable #187
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |