Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

remove redundant instructions #168

Merged
merged 3 commits into from
Apr 12, 2023
Merged

remove redundant instructions #168

merged 3 commits into from
Apr 12, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Apr 12, 2023

Summary by OpenAI

Release Notes:

  • New Feature: Added OpenAI ChatGPT based PR Reviewer & Summarizer to improve code review efficiency and effectiveness.
  • Refactor: Removed redundant instructions and added new ones for code review in src/review.ts.
  • Chore: Updated action.yml file with options for debug mode, file type filters, and model parameters.

"Code reviews made easy,
With OpenAI's help, oh so breezy.
Redundant instructions out the door,
Substantive issues, we'll focus more.
Celebrate this PR, let's give a cheer,
For better code quality is finally here!"

@github-actions
Copy link
Contributor

github-actions bot commented Apr 12, 2023

🤖 OpenAI

Overall, the changes made to this pull request are focused on improving the quality of code reviews by using OpenAI's ChatGPT model. The action.yml file provides a list of inputs and configurations for the ChatGPT based PR Reviewer & Summarizer, including options for debug mode, file type filters, and model parameters. The src/review.ts file removes redundant instructions and adds new ones that specify the expected response format, focus on substantive issues, and provide examples. These changes should help improve the efficiency and effectiveness of code reviews by providing more specific guidance and reducing the time required for manual review.

Here is a table summarizing the changes made to each file:

File Summary
action.yml Provides a list of inputs and configurations for the ChatGPT based PR Reviewer & Summarizer, including options for debug mode, file type filters, and model parameters.
src/review.ts Removes redundant instructions and adds new ones that specify the expected response format, focus on substantive issues, and provide examples.

Chat with 🤖 OpenAI Bot (@openai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @openai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Files ignored due to filter (1)

Ignored files

  • dist/index.js

@harjotgill harjotgill merged commit e0e844a into main Apr 12, 2023
@harjotgill harjotgill deleted the redundant_instruction branch April 12, 2023 17:37
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant