Skip to content

Release check-ci

release check-ci - Check CI status for a commit before releasing

Waits for a successful CI workflow run on a specific commit.

This command polls GitHub Actions to verify that a CI workflow has completed successfully for the given commit SHA. It's used by release workflows to ensure code is tested before releasing.

Flags

Flag Description
--workflow CI workflow filename (e.g., ci-r2r-cli.yaml)
--commit Commit SHA to check
--timeout Maximum wait time in seconds (default: 300)
--interval Poll interval in seconds (default: 15)
--strict Require exact commit match (no ancestor check)

Notes

Expected Output:

  • Exit code 0 if CI workflow succeeded
  • Exit code 1 if CI workflow failed or timeout occurred

Exit codes: 0 - CI workflow succeeded 1 - CI workflow failed or timeout

Examples

release check-ci --workflow ci-r2r-cli.yaml --commit abc123
release check-ci --workflow ci-ext-eac.yaml --commit abc123 --timeout 600
release check-ci --workflow ci-r2r-cli.yaml --commit abc123 --strict

See Also


Tutorials | How-to Guides | Explanation | Reference

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