diff --git a/action.yml b/action.yml index 7ae64e6..f9cfc9b 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,5 @@ name: 'GPTReviewWorkflow' description: 'Let AI review your code' -icon: 'eye' -color: 'gray-dark' inputs: OPENAI_API_KEY: description: 'OpenAI API Key' diff --git a/review.py b/review.py index 2ff71c4..acfb3d0 100644 --- a/review.py +++ b/review.py @@ -52,7 +52,7 @@ def get_review(): # https://api.github.com/repos/OWNER/REPO/pulls/PULL_NUMBER/reviews response = requests.post(f'https://api.github.com/repos/{OWNER}/{REPO}/pulls/{PR_NUMBER}/reviews', headers=headers, data=data) - print(response.json()) + print(response.josn()) if __name__ == "__main__":