Skip to content

Gate authored snippet declarations in CI - #1330

Draft
danielporterda wants to merge 1 commit into
snippet-validation-npm-scriptfrom
snippet-validation-ci-gate
Draft

Gate authored snippet declarations in CI#1330
danielporterda wants to merge 1 commit into
snippet-validation-npm-scriptfrom
snippet-validation-ci-gate

Conversation

@danielporterda

@danielporterda danielporterda commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What changed

  • adds a named authored-snippet validation step to the existing Mintlify validation workflow
  • runs the stable npm run snippets:validate repository command

Why

Committed preview-only local:// references and other invalid declarations now fail PR validation with the CLI's page/line diagnostic, error code, and remediation text.

Validation

  • npm run snippets:validate
  • workflow YAML parse
  • git diff --check

Not included

  • new validation rules
  • compilation or preview behavior
  • authored page migrations

Signed-off-by: danielporterda <daniel.porter@digitalasset.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant