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

add summary only flag #114

Merged
merged 2 commits into from
Apr 7, 2023
Merged

add summary only flag #114

merged 2 commits into from
Apr 7, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Apr 7, 2023

Summary by OpenAI

Release Notes:

  • New Feature: Adds a new boolean flag called summary_only that allows the function to exit early if set to true. This flag is included in several files including action.yml, src/main.ts, src/options.ts, src/review-comment.ts, and src/review.ts. Additionally, some properties were renamed to improve clarity and larger files can now be handled.

"Code review made easy,
With summary-only breezy.
Properties renamed for clarity,
Larger files handled with parity."

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2023

🤖 OpenAI

Thank you for letting me participate in this code review. Overall, the pull request titled "add summary only flag" adds a new boolean flag called summary_only that allows the function to exit early if set to true. This flag is included in several files including action.yml, src/main.ts, src/options.ts, src/review-comment.ts, and src/review.ts. Additionally, some properties were renamed to improve clarity and larger files can now be handled.

Please find below a table summarizing the changes made to each file:

File Summary
.gitignore Adds a section to ignore tags created by various tag generators and temporary files related to these tag generators.
action.yml Adds a new optional input flag called summary_only to skip code review and only provide a summary.
src/main.ts Adds a new boolean input option called summary_only to the Options object and renames some properties for clarity.
src/options.ts Adds a new boolean flag summary_only to the Options class and implements it in the constructor, print method, and check_path method.
src/review-comment.ts Replaces review_token_limits with heavy_token_limits in two places to handle larger files.
src/review.ts Renames some properties for clarity, adds a new heavy_token_limits option, and introduces a new summary_only flag to exit early if set to true.

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.

Files ignored due to filter (1)

Ignored files

  • dist/index.js

@harjotgill harjotgill merged commit fe67bb5 into main Apr 7, 2023
@harjotgill harjotgill deleted the flag branch April 7, 2023 02:54
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