Skip to content

Commit

Permalink
Merge branch 'joss' into jose
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Apr 30, 2024
2 parents bd56b88 + feb0ca6 commit f5b7f35
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
continue-on-error: ${{ matrix.failure-allowed }}
strategy:
matrix:
ruby-version: ['3.0.6', '3.1.4', '3.2.3', '3.3.0']
ruby-version: ['3.0.7', '3.1.5', '3.2.4', '3.3.1']
failure-allowed: [false]
include:
- ruby-version: 'truffleruby'
Expand Down
32 changes: 16 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GEM
bibtex-ruby (6.1.0)
latex-decode (~> 0.0)
racc (~> 1.7)
bigdecimal (3.1.6)
bigdecimal (3.1.7)
cgi (0.4.1)
charlock_holmes (0.7.7)
chronic (0.10.2)
Expand All @@ -17,16 +17,16 @@ GEM
bigdecimal
rexml
diff-lcs (1.5.1)
dotenv (2.8.1)
dotenv (3.1.0)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-follow_redirects (0.1.0)
faraday (>= 2, < 3)
faraday-net_http (3.1.0)
net-http
faraday-retry (2.2.0)
faraday-retry (2.2.1)
faraday (~> 2.0)
github-linguist (7.28.0)
github-linguist (7.29.0)
cgi
charlock_holmes (~> 0.7.7)
mini_mime (~> 1.0)
Expand All @@ -36,21 +36,21 @@ GEM
openssl
rack
latex-decode (0.4.0)
licensee (9.16.1)
dotenv (~> 2.0)
licensee (9.17.0)
dotenv (>= 2, < 4)
octokit (>= 4.20, < 9.0)
reverse_markdown (>= 1, < 3)
rugged (>= 0.24, < 2.0)
thor (>= 0.19, < 2.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
mini_portile2 (2.8.6)
multi_json (1.15.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
net-http (0.4.1)
uri
nio4r (2.7.0)
nokogiri (1.16.2)
nio4r (2.7.1)
nokogiri (1.16.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
octokit (8.1.0)
Expand All @@ -60,19 +60,19 @@ GEM
ojra (1.1.1)
faraday (~> 2.9)
openssl (3.2.0)
public_suffix (5.0.4)
public_suffix (5.0.5)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (3.0.9.1)
rack (3.0.10)
rack-protection (4.0.0)
base64 (>= 0.1.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack (>= 1.3)
redis-client (0.20.0)
redis-client (0.22.1)
connection_pool
reverse_markdown (2.1.1)
nokogiri
Expand All @@ -89,7 +89,7 @@ GEM
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rspec-support (3.13.1)
ruby2_keywords (0.0.5)
rugged (1.7.2)
sawyer (0.9.2)
Expand All @@ -101,7 +101,7 @@ GEM
multi_json (~> 1.15)
rexml (~> 3.2, >= 3.2.5)
thor (~> 1.2, >= 1.2.1)
sidekiq (7.2.2)
sidekiq (7.2.4)
concurrent-ruby (< 2)
connection_pool (>= 2.3.0)
rack (>= 2.2.4)
Expand All @@ -118,10 +118,10 @@ GEM
rack-protection (= 4.0.0)
sinatra (= 4.0.0)
tilt (~> 2.0)
thor (1.3.0)
thor (1.3.1)
tilt (2.3.0)
uri (0.13.0)
webmock (3.22.0)
webmock (3.23.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down
2 changes: 1 addition & 1 deletion app/responders/openjournals/set_archive_responder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def default_description
end

def default_example_invocation
"@#{bot_name} set set 10.5281/zenodo.6861996 as archive"
"@#{bot_name} set 10.5281/zenodo.6861996 as archive"
end
end
end
22 changes: 22 additions & 0 deletions config/settings-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,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 f5b7f35

Please sign in to comment.