Skip to content

Validate external inputs with Zod - #1128

Merged
smorimoto merged 1 commit into
masterfrom
validate-external-inputs-with-zod
Aug 30, 2026
Merged

Validate external inputs with Zod#1128
smorimoto merged 1 commit into
masterfrom
validate-external-inputs-with-zod

Conversation

@smorimoto

Copy link
Copy Markdown
Member

Summary

  • validate recursive opam dependency output before creating dependency snapshots
  • validate runner environment and opam repository inputs without type assertions
  • derive TypeScript types from the Zod schemas and update the bundled actions

Testing

  • yarn lint
  • yarn workspace @ocaml/analysis exec tsc --noEmit
  • yarn workspace @ocaml/setup-ocaml exec tsc --noEmit
  • yarn build
  • runtime checks for valid and invalid opam output, repository mappings, and runner environment values

@smorimoto smorimoto added the enhancement New feature or request label Aug 30, 2026
@smorimoto
smorimoto merged commit 6113c04 into master Aug 30, 2026
19 checks passed
@smorimoto
smorimoto deleted the validate-external-inputs-with-zod branch August 30, 2026 06:26
@smorimoto smorimoto mentioned this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant