Skip to content

feat(cli): add workflow validate command for CI checks#5659

Closed
EisonMe wants to merge 1 commit intokeephq:mainfrom
EisonMe:feat/workflow-validate-cli-3376
Closed

feat(cli): add workflow validate command for CI checks#5659
EisonMe wants to merge 1 commit intokeephq:mainfrom
EisonMe:feat/workflow-validate-cli-3376

Conversation

@EisonMe
Copy link
Copy Markdown

@EisonMe EisonMe commented Feb 20, 2026

Summary

Add a new CLI command keep workflow validate to validate Keep workflow YAML files locally and in CI.

What's included

  • New command: keep workflow validate
  • Supports --file/-f for single workflow file validation
  • Supports --dir/-d for directory batch validation
  • Prints validation summary with passed/failed counts
  • Exits with code 1 when any file fails (CI-friendly)
  • Works without API key

Tests

  • Added unit tests for:
    • single-file success
    • single-file failure
    • directory mixed results

Docs

  • Added docs page for workflow validate
  • Updated workflow CLI docs index

Fixes #3376
Related issue: #3376

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 20, 2026

@EisonMe is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 20, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Feb 20, 2026

Target branch is not in the allowed branches list.

@dosubot dosubot Bot added CLI CLI related issues Feature A new feature labels Feb 20, 2026
@shahargl shahargl closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI CLI related issues Feature A new feature size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[➕ Feature]: Add a way to validate Keep workflows from CI

3 participants