Skip to content
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

Run 'check references' as a GitHub action #100

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions config/settings-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ buffy:
only: editors
reminders:
only: editors
check_references:
description: "Check the references of the paper for missing DOIs"
example_invocation: "@editorialbot check references"
reviewer_checklist_comment:
if:
title: "^\\[REVIEW\\]:"
Expand Down Expand Up @@ -138,6 +135,18 @@ buffy:
- issue_id
mapping:
repository_url: target-repository
- references:
command: check references
workflow_repo: openjournals/joss-papers
workflow_name: references.yml
workflow_ref: master
description: "Check the references of the paper for missing DOIs"
data_from_issue:
- branch
- target-repository
- issue_id
mapping:
repository_url: target-repository
- draft_paper:
command: generate pdf
workflow_repo: openjournals/joss-papers
Expand Down Expand Up @@ -172,7 +181,8 @@ buffy:
mapping:
repository_url: target-repository
run_responder:
responder_key: check_references
responder_key: github_action
responder_name: references
- accept:
if:
value_matches:
Expand Down Expand Up @@ -249,23 +259,27 @@ buffy:
if:
title: "^\\[PRE REVIEW\\]:"
template_file: pre-review_welcome.md
check_references: true
run_responder:
- checks:
responder_key: github_action
responder_name: checks
- references:
responder_key: github_action
responder_name: references
- draft-paper:
responder_key: github_action
responder_name: draft_paper
- review_issue:
if:
title: "^\\[REVIEW\\]:"
template_file: review_welcome.md
check_references: true
run_responder:
- checks:
responder_key: github_action
responder_name: checks
- references:
responder_key: github_action
responder_name: references
- draft-paper:
responder_key: github_action
responder_name: draft_paper
Expand Down