webbertakken / reviewer

PR Code Reviewer
https://github.com/marketplace/pr-code-reviewer
MIT License
22 stars 2 forks source link

chore: add unused event #41

Closed webbertakken closed 1 year ago

webbertakken commented 1 year ago

Changes

Checklist

pr-code-reviewer[bot] commented 1 year ago

:wave: Hi there!

The most important things to improve in the code-diff are:

  1. Add a comment explaining the reason for skipping the 'commit_comment' event, as it was added to the list of unused events.
  2. Check if the 'event.name' exists before using it in the 'unusedEvents.includes()' statement to avoid potential errors.
  3. Consider refactoring the code to use a set or other data structure instead of an array for 'unusedEvents' to improve performance and simplify the code.

Automatically generated with the help of gpt-3.5-turbo. Feedback? Please don't hesitate to drop me an email at webber@takken.io.