Workflow
Workflow
Recommended
Learn how Custy performs validation before executing workflow operations.
Command
custy validateCategory
Validation
Quick Command
custy validateOverviewâ
Validation is the first stage of nearly every workflow-oriented operation in Custy.
Its purpose is to verify that the project is ready before later stages perform actions such as committing, tagging, pushing, or generating releases.
Validation Timeline
Validation Pipeline
High-level sequence performed during project validation.
1
Resolve Configuration
Load project configuration and determine the effective validation settings.
2
Verify Repository
Ensure that the current directory is a valid Git repository and that the configured remote is available.
3
Verify Project Resources
Check the configured version file together with required commit and tag templates.
4
Verify Repository State
Validate staged changes and other repository conditions required before workflow execution.
5
Finish Validation
Report the validation result and allow later workflow stages to continue when successful.
Workflow Stages
1. Resolve Configuration
2. Validate the Repository
3. Validate Project Resources
4. Validate Repository State
5. Complete Validation
Validation in Larger Workflows
Validation is designed to be reusable.
It can be executed directly using:
custy validate
or automatically as part of workflow commands such as:
custy run commitcusty run tagcusty run pushcusty run release
Using the shared validation stage ensures that every workflow begins with the same set of readiness checks.