Skip to content

Delete or Update Editorial bot comments when violations are fixed #546

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ayagmar
Copy link

@ayagmar ayagmar commented May 5, 2025

Fix #469 Handle Edited events to modify or delete bot comments if violations are updated
I have tested this on my gh bot fork and everything works as expected

Comment edited when I fixed one violation :
{0590EEA4-9B09-4425-ADA5-DB62E88F916D}
Comment is removed when I fixed all violations
{1501C552-A401-4C29-8F49-ABA1CF2F0330}

Thanks!

@ayagmar ayagmar changed the title #469 Delete Editorial bot comments when violations are fixed Delete Editorial bot comments when violations are fixed May 5, 2025
@ayagmar ayagmar force-pushed the feat/469 branch 2 times, most recently from 90735c4 to 68f3b44 Compare May 5, 2025 04:48
@ayagmar ayagmar changed the title Delete Editorial bot comments when violations are fixed Delete or Update Editorial bot comments when violations are fixed May 5, 2025
@ayagmar ayagmar force-pushed the feat/469 branch 2 times, most recently from ffa6562 to 7c73760 Compare May 5, 2025 05:24
@ayagmar
Copy link
Author

ayagmar commented May 11, 2025

Hello @gsmet
When you have the time could you please take a look at this PR and let me know if you want any changes ?
Thanks

@ayagmar
Copy link
Author

ayagmar commented May 16, 2025

ping @gsmet

@gsmet
Copy link
Member

gsmet commented May 21, 2025

Hey there,

Thanks for the pull request, I will have a look :).

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

Thanks, it looks really good and I see you added tests which is great.

I added a few comments.

Also, could you please rebase and run a full build to get the imports sorted. I somehow forgot to set up the impsort-maven-plugin when I created the project.

Let me know if you have any questions and don't hesitate to push back if something in my comments seems off.

@ayagmar
Copy link
Author

ayagmar commented May 23, 2025

Hello @gsmet Thanks for the review, I have made some changes and fixed the formatting, let me know what you think

@ayagmar ayagmar requested a review from gsmet May 24, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When description is updated, we should remove the bot comment asking for a description
2 participants