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

Commit 598bd86

Browse files
authored
Check for PR event (#37)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI **Release Notes** This pull request adds a check for pull_request event before running the `codeReview` function and displays a warning if it's not a pull_request event. Additionally, try-catch blocks were added to handle errors while posting and listing comments. This is a bug fix that ensures the codeReview function runs only on pull_request events. <!-- end of auto-generated comment: release notes by openai -->
1 parent 78c0bbf commit 598bd86

File tree

3 files changed

+292
-198
lines changed

3 files changed

+292
-198
lines changed

dist/index.js

Lines changed: 148 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)