forked from openjournals/buffy
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We currently have our approve responder configured like this:
buffy/config/settings-production.yml
Lines 68 to 84 in 044d630
| ropensci_approve: | |
| only: editors | |
| external_service: | |
| name: badge | |
| url: http://138.68.123.59:8000/badge | |
| method: get | |
| data_from_issue: | |
| - repo | |
| - repourl | |
| - issue_id | |
| template_file: approved.md | |
| data_from_issue: | |
| - reviewers-list | |
| remove_labels: | |
| - 5/awaiting-reviewer(s)-response | |
| add_labels: | |
| - 6/approved |
The external service calls this plumber function which in turn calls
roreviewapi::readme_badge(). That function should then confirm in the issue whether the repo has an rOpenSci badge in its README. That external call is, however, not made.
The external service in the welcome responder works:
buffy/config/settings-production.yml
Lines 27 to 40 in 044d630
| welcome: | |
| if: | |
| value_matches: | |
| submission-type: "Standard|Estándar|Stats" | |
| message: "Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type `@ropensci-review-bot help` for help." | |
| external_service: | |
| name: editorcheck | |
| url: http://138.68.123.59:8000/editorcheck | |
| method: get | |
| data_from_issue: | |
| - repo | |
| - repourl | |
| - issue_id | |
| template_file: goodpractice.md |
maelle
Metadata
Metadata
Assignees
Labels
No labels