Skip to content

Update packages' version in requirement #490

Update packages' version in requirement

Update packages' version in requirement #490

name: DEVELOPER ASSISTANT
on:
pull_request:
types:
- opened
issue_comment:
permissions: read-all
jobs:
pr_agent_job:
permissions:
contents: write
pull-requests: write
if: ((contains(github.event.comment.body, '/review') ||
contains(github.event.comment.body, '/describe' ) ||
contains(github.event.comment.body, '/add_docs') ||
contains(github.event.comment.body, '/update_changelog')) && 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, smart-devops-code-review]
steps:
- name: PR Agent action step
id: pragent
run: |
cd ../../../genai_pr_agent
chmod +x ./get_pr_agent_details.sh
echo runner | sudo -S chmod +777 /home/runner/scripts/.env
echo runner | sudo cp /home/runner/scripts/.env /home/runner/scripts/.env_copy
./get_pr_agent_details.sh
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_ACTION.AUTO_REVIEW: false
GITHUB_ACTION.AUTO_DESCRIBE: false
GITHUB_ACTION.UPDATE_TITLE: false
USE_CUSTOM_MODEL: false
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 }}
# Uncomment the line below to add any extra instructions you wish to give to the LLM
# GITHUB_ACTION.EXTRA_INSTRUCTIONS: 'Please give clear review for the user'
# Uncomment the line below to push all the suggestions for all the files as a batch instead of pushing it per file in the PR
# GITHUB_ACTION.BATCH_SUGGESTION_PUSH: true
# To enable dependent context from external repo/internal repo, uncomment the line below and add details in .github/dependent_files.json.
# Please refer to the wiki for the sample json file.
# GITHUB_ACTION.ENABLE_DEPENDENT_CONTEXT: true