Skip to content

Conversation

@slashben
Copy link
Contributor

Problem

Commit b2454fb introduced a breaking change by making the version input required without:

  1. Updating the documentation/README examples
  2. Providing a default value

This breaks all existing workflows that don't specify a version, including:

Solution

Make version optional with a default of "latest" to restore backward compatibility.

Changes

  version:
    description: |
      The version of Kubescape to use.

      Can be a specific version (e.g. "v3.0.21") or "latest".
-   required: true
+   required: false
+   default: "latest"

Behavior

  • Existing workflows (without version): Will now automatically use the latest kubescape release
  • New workflows (with explicit version): Continue to work as expected with their specified version

Restore backward compatibility by making the version input optional
with a default value of 'latest'. This fixes the breaking change
introduced in b2454fb where version was made required without
updating documentation or providing a default.

Users who don't specify a version will now automatically use the
latest kubescape release, matching the previous behavior.
Signed-off-by: Ben <ben@armosec.io>
@matthyx
Copy link
Contributor

matthyx commented Jan 12, 2026

fixed already

@matthyx matthyx closed this Jan 12, 2026
@matthyx matthyx deleted the fix/version-default-latest branch January 12, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants