From 2eed299b75656b4332b87933d37a1ecaee8dfda8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 18:34:37 +0000 Subject: [PATCH 1/3] Update actions/github-script action to v8 --- .github/workflows/release_rpms.yml | 6 +++--- .github/workflows/tag_deploy_rubygem__github-rpms.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_rpms.yml b/.github/workflows/release_rpms.yml index 450ff7c4..92b219ec 100644 --- a/.github/workflows/release_rpms.yml +++ b/.github/workflows/release_rpms.yml @@ -126,7 +126,7 @@ jobs: env: AUTOCREATE_RELEASE: ${{ github.event.inputs.autocreate_release }} PREBUILD_TAG: ${{ steps.validate-inputs.outputs.prebuild_suffix }} - uses: actions/github-script@v6 + uses: actions/github-script@v8 with: github-token: ${{ github.event.inputs.target_repo_token || secrets.GITHUB_TOKEN }} script: | @@ -259,7 +259,7 @@ jobs: - name: "Wipe all previous assets from GitHub Release (when clean == 'yes')" if: ${{ github.event.inputs.clean == 'yes' && github.event.inputs.dry_run != 'yes' }} - uses: actions/github-script@v6 + uses: actions/github-script@v8 env: release_id: ${{ steps.release-api.outputs.id }} with: @@ -278,7 +278,7 @@ jobs: - name: "Upload RPM file(s) to GitHub Release (dry_run != 'yes')" if: ${{ github.event.inputs.dry_run != 'yes' }} - uses: actions/github-script@v6 + uses: actions/github-script@v8 env: rpm_file_paths: ${{ steps.build-and-sign-rpm.outputs.rpm_file_paths }} rpm_gpg_file: ${{ steps.build-and-sign-rpm.outputs.rpm_gpg_file }} diff --git a/.github/workflows/tag_deploy_rubygem__github-rpms.yml b/.github/workflows/tag_deploy_rubygem__github-rpms.yml index 924c54a1..c7674d1c 100644 --- a/.github/workflows/tag_deploy_rubygem__github-rpms.yml +++ b/.github/workflows/tag_deploy_rubygem__github-rpms.yml @@ -180,7 +180,7 @@ jobs: - centos8 steps: - name: Trigger RPM release workflow (${{ matrix.os }}) - uses: actions/github-script@v6 + uses: actions/github-script@v8 env: DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} TARGET_TAG: ${{ needs.create-github-release.outputs.tag }} From 154f209374971771cb63ffb793ad8be0d1034cde Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Wed, 17 Sep 2025 15:04:16 -0500 Subject: [PATCH 2/3] Update tests to match current reality --- spec/lib/simp/cli/commands/kv/get_spec.rb | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/spec/lib/simp/cli/commands/kv/get_spec.rb b/spec/lib/simp/cli/commands/kv/get_spec.rb index 2dff8a79..cb98b103 100644 --- a/spec/lib/simp/cli/commands/kv/get_spec.rb +++ b/spec/lib/simp/cli/commands/kv/get_spec.rb @@ -63,8 +63,7 @@ { "key1": { "value": 1, - "metadata": { - } + "metadata": {} }, "key2": { "value": true, @@ -77,8 +76,7 @@ "hello", "world" ], - "metadata": { - } + "metadata": {} }, "key4": { "value": { @@ -123,8 +121,7 @@ { "key1": { "value": 1, - "metadata": { - } + "metadata": {} }, "key4": { "value": { @@ -158,8 +155,7 @@ { "key1": { "value": 1, - "metadata": { - } + "metadata": {} } } EOM From cc7dc82ff8541ecd25cb961295c9653439dca83b Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Wed, 17 Sep 2025 16:05:23 -0500 Subject: [PATCH 3/3] Additional test fixes --- spec/lib/simp/cli/commands/kv/list_spec.rb | 27 ++++++---------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/spec/lib/simp/cli/commands/kv/list_spec.rb b/spec/lib/simp/cli/commands/kv/list_spec.rb index 7ac24e07..15e72df6 100644 --- a/spec/lib/simp/cli/commands/kv/list_spec.rb +++ b/spec/lib/simp/cli/commands/kv/list_spec.rb @@ -96,9 +96,7 @@ ] }, "folder2": { - "keys": [ - - ], + "keys": [], "folders": [ "sub2_1", "sub2_2" @@ -109,17 +107,11 @@ "key3_1", "key3_2" ], - "folders": [ - - ] + "folders": [] }, "folder4": { - "keys": [ - - ], - "folders": [ - - ] + "keys": [], + "folders": [] } } EOM @@ -164,12 +156,8 @@ ] }, "folder4": { - "keys": [ - - ], - "folders": [ - - ] + "keys": [], + "folders": [] } } EOM @@ -231,8 +219,7 @@ "keys": { "key1_1": { "value": 1, - "metadata": { - } + "metadata": {} }, "key1_2": { "value": true,