Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: handle issue_comment events in a separate function #26

Merged

Conversation

PI-Victor
Copy link
Member

This commit refactors the code in githubEvents.ts to handle 'issue_comment.created' and 'issue_comment.edited' events in a separate function called 'handleComment'.
This fixes the issue where the bot would react to deleted comments.

Signed-off-by: Victor Palade victor@cloudflavor.io

This commit refactors the code in githubEvents.ts to handle 'issue_comment.created' and 'issue_comment.edited' events in a separate function called 'handleComment'.
This fixes the issue where the bot would react to deleted comments.

Signed-off-by: Victor Palade <victor@cloudflavor.io>
Copy link
Member Author

@PI-Victor PI-Victor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/assign
/triage

@PI-Victor
Copy link
Member Author

/assign
/triage

@PI-Victor
Copy link
Member Author

/merge

@oscar-automaton oscar-automaton bot merged commit 9610cd8 into main Jun 21, 2024
6 checks passed
@PI-Victor PI-Victor deleted the fix/execute-commands-only-on-edit-created-issue-events branch June 21, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant