From 80f04c5881dbb47380c3237492a0b36e40132f3a Mon Sep 17 00:00:00 2001 From: Robert Haase Date: Mon, 5 Aug 2024 19:32:21 +0200 Subject: [PATCH] use git-bob 0.2.0 --- .github/workflows/comment-on-issue.yml | 12 +++++++++--- .github/workflows/review-pull-request.yml | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/comment-on-issue.yml b/.github/workflows/comment-on-issue.yml index 8e1e483a..d099ca27 100644 --- a/.github/workflows/comment-on-issue.yml +++ b/.github/workflows/comment-on-issue.yml @@ -21,6 +21,11 @@ jobs: echo "Organization - ${{ github.repository_owner }}" echo "Repository Name - ${{ github.repository }}" + - name: Print Job details + run: | + echo "Run ID - ${{ github.run_id }}" + echo "Job ID - ${{ github.job }}" + - name: Set up Python uses: actions/setup-python@v2 with: @@ -29,12 +34,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install git-bob==0.1.2 + pip install git-bob==0.2.0 - name: Run Python env: - #ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" - GIT_BOB_LLM_NAME: "gpt-4o-2024-05-13" + ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" + GOOGLE_API_KEY: "${{ secrets.GOOGLE_API_KEY }}" + GIT_BOB_LLM_NAME: "${{ secrets.GIT_BOB_LLM_NAME }}" OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}" GITHUB_API_KEY: "${{ secrets.GITHUB_TOKEN }}" GITHUB_RUN_ID: "${{ github.run_id }}" diff --git a/.github/workflows/review-pull-request.yml b/.github/workflows/review-pull-request.yml index 6dee45a3..ae7dda25 100644 --- a/.github/workflows/review-pull-request.yml +++ b/.github/workflows/review-pull-request.yml @@ -20,6 +20,11 @@ jobs: echo "Organization - ${{ github.repository_owner }}" echo "Repository Name - ${{ github.repository }}" + - name: Print Job details + run: | + echo "Run ID - ${{ github.run_id }}" + echo "Job ID - ${{ github.job }}" + - name: Set up Python uses: actions/setup-python@v2 with: @@ -28,12 +33,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install git-bob==0.1.2 + pip install git-bob==0.2.0 - name: Run Python env: - #ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" - GIT_BOB_LLM_NAME: "gpt-4o-2024-05-13" + ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}" + GOOGLE_API_KEY: "${{ secrets.GOOGLE_API_KEY }}" + GIT_BOB_LLM_NAME: "${{ secrets.GIT_BOB_LLM_NAME }}" OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}" GITHUB_API_KEY: "${{ secrets.GITHUB_TOKEN }}" GITHUB_RUN_ID: "${{ github.run_id }}"