From 595737d721e8e71c0bd64e7290c6370dcd6de47e Mon Sep 17 00:00:00 2001 From: saquino0827 Date: Thu, 10 Oct 2024 09:57:01 -0500 Subject: [PATCH] Adding every configuration combination possible Co-authored-by: Sylvie Co-authored-by: pluckyswan <96704946+pluckyswan@users.noreply.github.com> Co-authored-by: halprin --- .github/workflows/pr_agent.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr_agent.yml b/.github/workflows/pr_agent.yml index 6438841e0..5cbbfa9de 100644 --- a/.github/workflows/pr_agent.yml +++ b/.github/workflows/pr_agent.yml @@ -15,13 +15,20 @@ jobs: id: pragent uses: Codium-ai/pr-agent@main env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} OPENAI_KEY: ${{ secrets.AZURE_OPENAI_KEY }} - OPENAI.API_TYPE: "azure" - OPENAI.API_VERSION: "2023-05-15" # Check Azure documentation for the current API version - OPENAI.API_BASE: ${{ secrets.AZURE_OPENAI_BASE_URL }} # The base URL for your Azure OpenAI resource. e.g. "https://.openai.azure.com" - OPENAI.DEPLOYMENT_ID: ${{ secrets.AZURE_OPENAI_DEPLOYMENT_ID }} # The deployment name you chose when you deployed the engine + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI.API_TYPE: 'azure' + OPENAI_API_TYPE: 'azure' + OPENAI_API_VERSION: "2023-05-15" + OPENAI.API_VERSION: "2023-05-15" + OPENAI.API_BASE: 'https://${{ vars.AZURE_DEPLOYMENT_ID }}.openai.azure.com' + OPENAI_API_BASE: 'https://${{ vars.AZURE_DEPLOYMENT_ID }}.openai.azure.com' + OPENAI.DEPLOYMENT_ID: ${{ vars.AZURE_DEPLOYMENT_ID }} + OPENAI_DEPLOYMENT_ID: ${{ vars.AZURE_DEPLOYMENT_ID }} + AZURE_API_TYPE: 'azure' + AZURE_API_KEY: ${{ secrets.AZURE_OPENAI_KEY }} AZURE_API_VERSION: "2023-05-15" + AZURE_API_BASE: 'https://${{ vars.AZURE_DEPLOYMENT_ID }}.openai.azure.com' GITHUB_ACTION_CONFIG_AUTO_REVIEW: "true" GITHUB_ACTION_CONFIG_AUTO_DESCRIBE: "true" GITHUB_ACTION_CONFIG_AUTO_IMPROVE: "true"