Skip to content

Commit

Permalink
New command: accept ignoring errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Apr 30, 2024
1 parent 26dc01a commit 680c255
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config/settings-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,28 @@ buffy:
- issue_id
mapping:
repository_url: target-repository
- accept_ignoring_errors:
if:
value_matches:
archive: "^((?!Pending).)*$"
reject_msg: "Paper is not ready for acceptance yet, the archive is missing"
only: eics
hidden: true
command: accept ignoring errors
workflow_repo: openjournals/joss-papers
workflow_name: accept.yml
workflow_ref: master
description: Accept and publish the paper
message: "```\nDoing it live! Attempting automated processing of paper acceptance (ignoring metadata errors)...\n```"
inputs:
add_labels: "accepted,published"
validation_mode: "ignore-errors"
data_from_issue:
- branch
- target-repository
- issue_id
mapping:
repository_url: target-repository
- reaccept:
if:
value_matches:
Expand Down

0 comments on commit 680c255

Please sign in to comment.