Skip to content

Commit d2fb59f

Browse files
committed
Update settings-production.yml
1 parent 28346fb commit d2fb59f

File tree

1 file changed

+36
-256
lines changed

1 file changed

+36
-256
lines changed

config/settings-production.yml

Lines changed: 36 additions & 256 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ buffy:
66
reviewers_host_url: <%= ENV['REVIEWERS_HOST_URL'] %>
77
reviewers_api_token: <%= ENV['REVIEWERS_API_TOKEN'] %>
88
teams:
9-
editors: openjournals/joss-editors
10-
eics: openjournals/joss-eics
9+
editors: 1474888
10+
eics: 1415509
1111
responders:
1212
help:
1313
- commands:
@@ -18,262 +18,42 @@ buffy:
1818
whedon:
1919
thanks:
2020
hidden: true
21-
openjournals_reviewers_start_review:
22-
if:
23-
title: "^\\[REVIEW\\]:"
24-
openjournals_reviewers_end_review:
25-
if:
26-
title: "^\\[REVIEW\\]:"
27-
openjournals_reviewers_list:
28-
only: editors
29-
if:
30-
role_assigned: editor
31-
reject_msg: "Can't add reviewers: There is no editor assigned yet"
32-
add_as_assignee: true
33-
list_team_members:
34-
command: list editors
35-
team_id: openjournals/joss-editors
36-
heading: List of JOSS editors
37-
description: "Get a list of all editors's GitHub handles"
21+
reviewers_list:
22+
only:
23+
- editors
24+
- eics
3825
assign_editor:
39-
only: editors
40-
external_call:
41-
url: "https://joss.theoj.org/papers/api_assign_editor"
42-
method: post
43-
query_params:
44-
secret: <%= ENV['JOSS_SECRET'] %>
45-
mapping:
46-
id: issue_id
47-
editor: editor
48-
silent: true
26+
only:
27+
- editors
28+
- eics
4929
remove_editor:
50-
only: editors
51-
reminders:
52-
only: editors
53-
check_references:
54-
description: "Check the references of the paper for missing DOIs"
55-
example_invocation: "@editorialbot check references"
56-
repo_checks:
57-
description: "Perform checks on the repository"
58-
example_invocation: "@editorialbot check repository"
59-
reviewer_checklist_comment:
60-
if:
61-
title: "^\\[REVIEW\\]:"
62-
reject_msg: Checklists can only be created once the review has started in the review issue
63-
template_file: reviewer_checklist.md
64-
data_from_issue:
65-
- target-repository
66-
- author-handle
30+
only:
31+
- editors
32+
- eics
33+
no_editor_text: "TBD"
34+
add_remove_assignee:
35+
only:
36+
- editors
37+
- eics
38+
list_team_members:
39+
command: list editors
40+
team_id: 1474888
41+
heading: Current ReScience C editors
6742
set_value:
6843
- version:
69-
only: editors
44+
only:
45+
- editors
46+
- eics
7047
sample_value: "v1.0.0"
71-
- branch:
72-
sample_value: "joss-paper"
73-
- target-repository:
74-
only: editors
75-
sample_value: "https://github.com/organization/repo"
76-
aliased_as: repository
77-
external_call:
78-
url: "https://joss.theoj.org/papers/api_update_paper_info"
79-
method: post
80-
query_params:
81-
secret: <%= ENV['JOSS_SECRET'] %>
82-
mapping:
83-
id: issue_id
84-
repository_url: new_value
85-
silent: true
86-
openjournals_set_archive:
87-
only: editors
88-
ping_track_eics:
89-
only: editors
90-
external_service:
91-
- reject:
92-
only: eics
93-
command: reject
94-
description: "Reject paper"
95-
url: "https://joss.theoj.org/papers/api_reject"
96-
query_params:
97-
secret: <%= ENV['JOSS_SECRET'] %>
98-
mapping:
99-
id: issue_id
100-
add_labels:
101-
- rejected
102-
success_msg: "Paper rejected."
103-
error_msg: "There was a problem rejecting the paper."
104-
close: true
105-
- withdraw:
106-
only: eics
107-
command: withdraw
108-
description: "Withdraw paper"
109-
url: "https://joss.theoj.org/papers/api_withdraw"
110-
query_params:
111-
secret: <%= ENV['JOSS_SECRET'] %>
112-
mapping:
113-
id: issue_id
114-
add_labels:
115-
- withdrawn
116-
success_msg: "Paper withdrawn."
117-
error_msg: "There was a problem withdrawing the paper."
118-
close: true
119-
- invite_editor:
120-
only: eics
121-
command: "invite @(.*) as editor"
122-
description: "Invite an editor to edit a submission (sending them an email)"
123-
url: "https://joss.theoj.org/papers/api_editor_invite"
124-
query_params:
125-
secret: <%= ENV['JOSS_SECRET'] %>
126-
mapping:
127-
id: issue_id
128-
editor: match_data_1
129-
success_msg: Invitation to edit this submission sent!
130-
error_msg: "There was a problem inviting the user to edit this submission."
131-
github_action:
132-
- draft_paper:
133-
command: generate pdf
134-
workflow_repo: openjournals/joss-papers
135-
workflow_name: draft-paper.yml
136-
workflow_ref: master
137-
description: Generates the pdf paper
138-
data_from_issue:
139-
- branch
140-
- target-repository
141-
- issue_id
142-
mapping:
143-
repository_url: target-repository
144-
- recommend_acceptance:
145-
if:
146-
value_matches:
147-
archive: "^((?!Pending).)*$"
148-
reject_msg: "Paper is not ready for acceptance yet, the archive is missing"
149-
only: editors
150-
command: recommend-accept
151-
workflow_repo: openjournals/joss-papers
152-
workflow_name: recommend-acceptance.yml
153-
workflow_ref: master
154-
description: Recommends the submission for acceptance
155-
message: "```\nAttempting dry run of processing paper acceptance...\n```"
156-
inputs:
157-
add_labels: recommend-accept
158-
data_from_issue:
159-
- branch
160-
- target-repository
161-
- issue_id
162-
mapping:
163-
repository_url: target-repository
164-
run_responder:
165-
responder_key: check_references
166-
- accept:
167-
if:
168-
value_matches:
169-
archive: "^((?!Pending).)*$"
170-
reject_msg: "Paper is not ready for acceptance yet, the archive is missing"
171-
only: eics
172-
command: accept
173-
workflow_repo: openjournals/joss-papers
174-
workflow_name: accept.yml
175-
workflow_ref: master
176-
description: Accept and publish the paper
177-
message: "```\nDoing it live! Attempting automated processing of paper acceptance...\n```"
178-
inputs:
179-
add_labels: "accepted,published"
180-
data_from_issue:
181-
- branch
182-
- target-repository
183-
- issue_id
184-
mapping:
185-
repository_url: target-repository
186-
- reaccept:
187-
if:
188-
value_matches:
189-
archive: "^((?!Pending).)*$"
190-
reject_msg: "Can't rebuild paper, there's no value for archive"
191-
only: eics
192-
command: reaccept
193-
workflow_repo: openjournals/joss-papers
194-
workflow_name: reaccept.yml
195-
workflow_ref: master
196-
description: Update data on an accepted/published paper
197-
message: "```\nRebuilding paper!\n```"
198-
data_from_issue:
199-
- branch
200-
- target-repository
201-
- issue_id
202-
mapping:
203-
repository_url: target-repository
204-
- preprint:
205-
command: generate preprint
206-
workflow_repo: openjournals/joss-papers
207-
workflow_name: preprint.yml
208-
workflow_ref: master
209-
description: Generates a LaTeX preprint file
210-
data_from_issue:
211-
- branch
212-
- target-repository
213-
- issue_id
214-
mapping:
215-
repository_url: target-repository
216-
basic_command:
217-
- query_scope:
218-
only: editors
219-
command: query scope
220-
description: Flag submission with questionable scope
221-
add_labels:
222-
- query-scope
223-
message: "Submission flagged for editorial review."
224-
- list_reviewers:
225-
command: list reviewers
226-
description: Get a link to the complete list of reviewers
227-
template_file: reviewers_list.md
228-
update_comment:
229-
- editor_post-review_checklist:
230-
only: editors
231-
if:
232-
title: "^\\[REVIEW\\]:"
233-
reject_msg: "This is not a review issue"
234-
command: create post-review checklist
235-
description: Creates a post-review checklist with editor and authors tasks
236-
template_file: post-review_checklist.md
237-
welcome:
238-
- pre_review_issue:
239-
if:
240-
title: "^\\[PRE REVIEW\\]:"
241-
template_file: pre-review_welcome.md
242-
check_references: true
243-
repo_checks: true
244-
run_responder:
245-
responder_key: github_action
246-
responder_name: draft_paper
247-
- review_issue:
248-
if:
249-
title: "^\\[REVIEW\\]:"
250-
template_file: review_welcome.md
251-
check_references: true
252-
repo_checks: true
253-
run_responder:
254-
responder_key: github_action
255-
responder_name: draft_paper
256-
- close_other_issues:
257-
if:
258-
title: "^(?!\\[REVIEW\\]:|\\[PRE REVIEW\\]:)"
259-
template_file: close.md
260-
close: true
261-
goodbye:
262-
if:
263-
labels: accepted
264-
template_file: goodbye.md
265-
external_start_review:
266-
only: editors
267-
external_call:
268-
url: "https://joss.theoj.org/papers/api_start_review"
269-
query_params:
270-
secret: <%= ENV['JOSS_SECRET'] %>
271-
data_from_issue:
272-
- branch
273-
mapping:
274-
id: issue_id
275-
editor: editor_login
276-
reviewers: reviewers_logins
277-
silent: true
278-
template_file: "review_started.md"
279-
close: true
48+
- archive:
49+
only:
50+
- editors
51+
- eics
52+
sample_value: "10.21105/joss.12345"
53+
close_issue_command:
54+
only:
55+
- editors
56+
- eics
57+
command: reject
58+
add_labels:
59+
- rejected

0 commit comments

Comments
 (0)