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

antiflood option for comments #210

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

micheelengronne
Copy link

Attempt to solve #189

Add an option --comment-antiflood to avoid a flood with the same comment.

@micheelengronne
Copy link
Author

This patch checks that the last comment body is not the same as the one that would be written.

It works.

The only anti-pattern that I can see is when an event is triggered that does not add any note to the MR (like retriggering manually the pipeline).

@micheelengronne
Copy link
Author

Hum, I have to pass more time figuring how the mock works to add the new endpoint. Any hint ?

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.

1 participant