guru-actions/create-and-run-release

Creates a CloudBees Unify release from component artifacts, runs it, and waits for completion. This action: 1) Builds manifest from most recent artifacts, 2) Creates release, 3) Starts release, 4) Waits for completion (polling), 5) Reports final result.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 10, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: guru-actions/create_release@0f5ca228858168a26186b941b587910bb8468dc2 # v0.23

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
cb_api_tokenCloudBees API token for authenticationyes
cb_org_idCloudBees organization IDyes
cb_application_idCloudBees application IDyes
cb_workflow_idCloudBees workflow/automation ID for the releaseyes
cb_base_urlCloudBees API base URLnohttps://api.cloudbees.io
cb_environmentTarget environment name for the releaseyes
cb_artifact_labelsOptional Unify artifact labels to filter artifacts (comma-separated, supports key=value pairs, e.g. "prod=true,stable=true" or "demo,v2") no""
allow_latest_versionAllow artifacts with version "latest" to be selected (default excludes "latest" versions)nofalse
override_component_idOptional component ID to pin to a specific version (deprecated - use component_overrides)no""
override_versionOptional version to use for overridden component (deprecated - use component_overrides)no""
component_overridesOptional component version overrides (comma-separated componentId=version pairs, e.g. "097aaa38-4753-4471-97f4-8e7265bd7bdc8=1.44,abc123-def456=2.0") no""
release_name_prefixPrefix for auto-generated release namenounify-release
max_wait_attemptsMaximum polling attempts to wait for release completion (release status checks)no60
wait_sleep_secondsSeconds to sleep between release status polling attemptsno10
queue_check_sleep_secondsSeconds to sleep between queue position checks (wait mode only, first check is immediate)no10
close_on_passAutomatically close the release if it succeedsnofalse
close_on_failAutomatically close the release if it failsnofalse
skip_release_on_missing_artifactsSkip release creation if any linked components don't have matching artifacts. When true and components are missing: action succeeds but no release is created, status output is set to 'SKIPPED_MISSING_ARTIFACTS'. When false (default): release is created with available components only.nofalse
selection_report_formatFormat for the selection_report output. Options: "text" (default) or "markdown". When set to "markdown", the report is formatted with markdown syntax for use with cloudbees-io/publish-evidence-item@v1 or similar tools.notext
prevent_concurrent_releasesPrevent concurrent releases to the same environment. Options: - "false" (default): No check, create and run release immediately - "skip": Check before creating; skip release creation if another release is running - "wait": Create release, then wait for other releases to complete before starting (max 5 minutes)nofalse
enable_debug_loggingEnable verbose debug logging for troubleshooting (shows all releases, queue checks, artifact details)nofalse
enable_api_diagnosticsEnable API call diagnostics - tracks all CloudBees API calls with timestamps, status codes, and rate limit headers, outputs to CSV for evidencenofalse
smart_tests_componentComponent name for Smart Tests E2E integration (e.g. 'jellyfish-notifications'). Passed to workflow for E2E test suite naming.no""
smart_tests_build_nameSmart Tests build name from component workflow (e.g. 'cb-squidstack-jellyfish-notifications-UUID'). Used to link E2E tests to component build.no""
ignore_releasesComma-delimited list of release names to ignore when checking for concurrent releases. Useful when a release is stuck and cannot be closed/deleted in Unify. Example: "rel-test-sb--squid-demo-3-20260202-114850-23326,another-stuck-release"no""
namedescription
manifestGenerated manifest JSON with component artifact versions
selection_reportHuman-readable report of component selection and overrides
release_idCreated release ID
release_nameCreated release name
run_idAutomation run ID from the release execution
statusFinal release status (SUCCEEDED, FAILED, TIMEOUT, SKIPPED_MISSING_ARTIFACTS, SKIPPED_CONCURRENT_RELEASE)
api_diagnostics_csvCSV file containing API call diagnostics (when enable_api_diagnostics is true)