CLI GitHub Action v2.0.0

The v2.0.0 release of the Cloudsmith CLI GitHub Action migrates the action to the Node.js 24 runtime and updates default OIDC audience claims to align with modern security standards.

This is a major version release to prevent breaking changes for users pinned to @v1. While core CLI functionality remains unchanged, environment requirements and OIDC defaults have been updated to ensure long-term compatibility and improved security.

Key changes

Node.js 24 Runtime Migration

The action now utilizes the Node.js 24 (Current LTS) runtime.

  • GitHub-Hosted Runners: GitHub automatically provides the necessary runtime; no user intervention is required.
  • Self-Hosted Runners: You must ensure Node 24+ is installed on your environment to run v2.0.0.
  • Deprecation Notice: Support for Node 20 is now deprecated in this major version. We will continue to maintain v1 until the Node 20 End-of-Life (EOL) scheduled in April 2026, but we recommend migrating to v2 as soon as possible.

Updated OIDC audience defaults

The default oidc-audience input has been updated to provide organization-specific audience claims, increasing the security of the OIDC exchange.

  • New default: https://github.com/{org-name} (using GITHUB_REPOSITORY_OWNER)
  • Previous default: api://AzureADTokenExchange

If your existing OIDC trust configuration relies on the legacy api:// claim, you must either update your validation logic within Cloudsmith or explicitly set oidc-audience: 'api://AzureADTokenExchange' in your workflow YAML to maintain current behavior.

For a detailed list of all technical commits and specific file changes, please refer to the official GitHub Changelog.

Keep up to date with our monthly product bulletin