Skip to content

ci-get-run-id

pipeline ci get-run-id - Get CI run ID for a workflow and commit SHA

Look up the run ID of a successful CI workflow run for a specific commit.

This command is useful for release workflows that need to download artifacts from a CI run at a specific commit SHA.

Flags

Flag Description
--workflow Workflow file name to look up
--sha Commit SHA to find run for

Notes

Expected Output:

  • Run ID on stdout (for capturing in scripts)
  • Exit code 0 on success, 1 if no run found

Examples

pipeline ci get-run-id --workflow ci-docs.yaml --sha abc123

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.