-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix author response responder #103
base: ropensci
Are you sure you want to change the base?
Conversation
@@ -19,6 +19,8 @@ buffy: | |||
authorized_roles_in_issue: | |||
- author1 | |||
- author-others | |||
remove_labels: | |||
- 4/review(s)-in-awaiting-changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can't go here, i don't thinik? Because this responder is triggered each time a review is submitted, including the first time. In those cases, the label needs to remain at 3/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, this is for the author submit response responder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But my comment still applies. Plus note line 16:
buffy/config/settings-production.yml
Line 16 in 044d630
label_when_all_reviews_in: "4/review(s)-in-awaiting-changes" |
So that badge is added by this responder, but only once all reviews are in. This responder should not remove it.
@@ -80,6 +82,7 @@ buffy: | |||
- reviewers-list | |||
remove_labels: | |||
- 5/awaiting-reviewer(s)-response | |||
- 4/review(s)-in-awaiting-changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this looks to me like it should work:
add_labels = labels_to_add.empty? ? nil : "Label issue with: #{labels_to_add.join(', ')}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to remove the added lines 22-23?
@maelle The bigger problem here seems to be that we have no automated transition from 4/ to 5/. We should address that issue! |
@mpadge I'm lost. The automatic transition is the author's submitting their response (well, it should be). https://devdevguide.netlify.app/bot_cheatsheet#finalize-repo-transfer Can you suggest changes? |
No description provided.