Skip to content

Commit

Permalink
Merge pull request #100 from openjournals/call-references-gh-action
Browse files Browse the repository at this point in the history
Run 'check references' as a GitHub action
  • Loading branch information
xuanxu authored Mar 2, 2024
2 parents 0d93cce + d54c745 commit 8b4c3f2
Showing 1 changed file with 20 additions and 6 deletions.
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

0 comments on commit 8b4c3f2

Please sign in to comment.