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 checks as a GitHub action #99

Merged
merged 3 commits into from
Mar 1, 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
33 changes: 24 additions & 9 deletions config/settings-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ buffy:
check_references:
description: "Check the references of the paper for missing DOIs"
example_invocation: "@editorialbot check references"
repo_checks:
description: "Perform checks on the repository"
example_invocation: "@editorialbot check repository"
reviewer_checklist_comment:
if:
title: "^\\[REVIEW\\]:"
Expand Down Expand Up @@ -129,6 +126,18 @@ buffy:
success_msg: Invitation to edit this submission sent!
error_msg: "There was a problem inviting the user to edit this submission."
github_action:
- checks:
command: check repository
workflow_repo: openjournals/joss-papers
workflow_name: checks.yml
workflow_ref: master
description: "Run checks and provide information on the repository and the paper file"
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 @@ -241,19 +250,25 @@ buffy:
title: "^\\[PRE REVIEW\\]:"
template_file: pre-review_welcome.md
check_references: true
repo_checks: true
run_responder:
responder_key: github_action
responder_name: draft_paper
- checks:
responder_key: github_action
responder_name: checks
- draft-paper:
responder_key: github_action
responder_name: draft_paper
- review_issue:
if:
title: "^\\[REVIEW\\]:"
template_file: review_welcome.md
check_references: true
repo_checks: true
run_responder:
responder_key: github_action
responder_name: draft_paper
- checks:
responder_key: github_action
responder_name: checks
- draft-paper:
responder_key: github_action
responder_name: draft_paper
- close_other_issues:
if:
title: "^(?!\\[REVIEW\\]:|\\[PRE REVIEW\\]:)"
Expand Down