From 539152c6f55c0f75c666ed0b7794db70feb97c48 Mon Sep 17 00:00:00 2001 From: Zach Wilson Date: Thu, 20 Jun 2024 21:58:54 +0000 Subject: [PATCH] adding try except --- .github/workflows/autofeedback.yml | 2 +- requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autofeedback.yml b/.github/workflows/autofeedback.yml index 65e0ccd..412c0c8 100644 --- a/.github/workflows/autofeedback.yml +++ b/.github/workflows/autofeedback.yml @@ -30,7 +30,7 @@ jobs: - name: Run Python script env: GIT_TOKEN: ${{ secrets.GIT_TOKEN }} - GITHUB_REPOSITORY: DataExpert-io/auto-feedback-example + GITHUB_REPOSITORY: ${{ github.repository }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: | python src/generate_comment.py ${{ github.event.pull_request.number }} ${{ steps.pr_changes.outputs.changed_files }} diff --git a/requirements.txt b/requirements.txt index 838b077..6084aff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ openai -PyGithub -logger \ No newline at end of file +PyGithub \ No newline at end of file