Skip to content

Fix author response responder#103

Open
maelle wants to merge 2 commits into
ropenscifrom
maelle-patch-1
Open

Fix author response responder#103
maelle wants to merge 2 commits into
ropenscifrom
maelle-patch-1

Conversation

@maelle

@maelle maelle commented Jan 23, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

@maelle maelle requested a review from mpadge January 23, 2024 08:20
- author1
- author-others
remove_labels:
- 4/review(s)-in-awaiting-changes

Copy link
Copy Markdown
Collaborator

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/

Copy link
Copy Markdown
Collaborator Author

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

Copy link
Copy Markdown
Collaborator

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:

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.

- reviewers-list
remove_labels:
- 5/awaiting-reviewer(s)-response
- 4/review(s)-in-awaiting-changes

Copy link
Copy Markdown
Collaborator

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(', ')}"

@mpadge mpadge left a comment

Copy link
Copy Markdown
Collaborator

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?

@mpadge

mpadge commented Jan 25, 2024

Copy link
Copy Markdown
Collaborator

@maelle The bigger problem here seems to be that we have no automated transition from 4/ to 5/. We should address that issue!

@maelle

maelle commented Jan 25, 2024

Copy link
Copy Markdown
Collaborator Author

@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?

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.

2 participants