From 26dc01a56e6708118e89666d9060f3ace922e564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Wed, 24 Apr 2024 09:49:14 +0200 Subject: [PATCH 1/4] Remove duplication --- app/responders/openjournals/set_archive_responder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/responders/openjournals/set_archive_responder.rb b/app/responders/openjournals/set_archive_responder.rb index 77a3b30d..aa676003 100644 --- a/app/responders/openjournals/set_archive_responder.rb +++ b/app/responders/openjournals/set_archive_responder.rb @@ -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 From 1eddf5d8f682d22ab85257a455aa44921626de22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Sat, 27 Apr 2024 10:56:21 +0200 Subject: [PATCH 2/4] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3b5384d0..31310f0b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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' From 680c25578f84ceae4754e780408fa453b98757a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Tue, 30 Apr 2024 11:11:37 +0200 Subject: [PATCH 3/4] New command: accept ignoring errors --- config/settings-production.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/config/settings-production.yml b/config/settings-production.yml index 3a20e444..84515d0a 100644 --- a/config/settings-production.yml +++ b/config/settings-production.yml @@ -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: From 3bfb41e1fc84fabc13bcbcd1c2b8efe5aaf47b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Tue, 30 Apr 2024 11:39:41 +0200 Subject: [PATCH 4/4] Update Gemfile.lock --- Gemfile.lock | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 330d7bae..4f774c68 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -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) @@ -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) @@ -58,11 +58,11 @@ GEM faraday (>= 1, < 3) sawyer (~> 0.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) @@ -70,7 +70,7 @@ GEM 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 @@ -87,7 +87,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) @@ -99,7 +99,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) @@ -116,10 +116,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)