ropensci-org / buffy

Editorial bots generator
https://buffy-ropensci.readthedocs.io/en/latest/
MIT License
1 stars 2 forks source link

Configurable deadline reminders #71

Closed xuanxu closed 2 years ago

xuanxu commented 2 years ago

This PR adds an optional feature to the ropensci_reviewers responder to set a reminder when a reviewers is assigned.

Reminders are configured in the ropensci_reviewers responder config with the reminder option. The parameters for the reminders are:

Example:

    ropensci_reviewers:
      only:
        - editors
      no_reviewer_text: "TBD"
      add_labels:
        - 3/reviewer(s)-assigned
      remove_labels:
        - 2/seeking-reviewer(s)
      reminder:
        days_before_deadline: 2
        template_file: reminder.md

Ref: #56

maelle commented 2 years ago

Thank you! This looks good. @mpadge any comment?

After merging I'd do a manual deploy.

mpadge commented 2 years ago

Looks great to me - thanks @xuanxu

maelle commented 2 years ago

Now deployed thanks to https://help.heroku.com/CKVOUPSY/how-to-switch-deployment-method-from-github-to-heroku-git-with-all-the-changes-app-code-available-in-a-github-repo