dcloud ci workflows validate

Check a workflow file against the parser without pushing it

IAM ci:ListRunsRead

The same parser a push runs. Answers `{ valid, issues }`; each issue names the key and, where the source allowed it, the line.

Synopsis

dcloud ci workflows validate --source source [flags]

Flags

  • --sourceRequired

    string

    The workflow file’s content, YAML (or JSON), 1 to 65,536 characters

    Constraints: 1-65536 chars

  • --pathOptional

    string

    Where the file will live, up to 500 characters; under .github/workflows/ it is checked as GitHub Actions; elsewhere or omitted: as the native format

    Constraints: 1-500 chars

Example

dcloud ci workflows validate --source example

Generated from the API description, the same one the API checks requests against and the CLI is built from.