Skip to content

chore(deps): update grantbirki/json-yaml-validate action to v5#115

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/grantbirki-json-yaml-validate-5.x
Open

chore(deps): update grantbirki/json-yaml-validate action to v5#115
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/grantbirki-json-yaml-validate-5.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 9, 2026

This PR contains the following updates:

Package Type Update Change
GrantBirki/json-yaml-validate action major v4.0.0v5.0.0

Release Notes

GrantBirki/json-yaml-validate (GrantBirki/json-yaml-validate)

v5.0.0

Compare Source

v5.0.0

TL;DR

v5 is a major release for json-yaml-validate: the action now runs on node24, the internals have been rewritten in TypeScript, the runtime dependency surface is much smaller, path handling is stricter, and several new validation workflows are supported.

Most users can start by changing workflow references from GrantBirki/json-yaml-validate@v4 to GrantBirki/json-yaml-validate@v5, but please review the v4 to v5 migration guide before updating protected CI jobs.

Highlights

  • Rewrote the action from JavaScript to TypeScript and moved the runtime to node24.
  • Reduced runtime dependencies by replacing several packages with native implementations for action core behavior, PR comments, file discovery, coverage badge generation, and legacy YAML schema validation.
  • Hardened validation path handling so explicit files, schemas, base directories, and schema mappings must resolve to regular files or directories inside the workspace.
  • Allowed multi-document YAML by default, matching common Kubernetes-style YAML usage. Set allow_multiple_documents: "false" to preserve the old default.
  • Added support for single-line, space-separated files input values.
  • Added schema_mappings for validating different file groups against different JSON or YAML schemas in one action step.
  • Added local-only inline schema discovery with use_inline_schema for JSON $schema references and YAML language-server schema comments when yaml_as_json is enabled.
  • Added comment_on_success and update_comment so PR comments can be less noisy while still surfacing validation status.
  • Strengthened tests, acceptance coverage, workflow hardening, package checks, and CI coverage thresholds.

Upgrade Notes

  • Self-hosted runners must support JavaScript actions that run on node24.
  • v5 intentionally rejects validation paths that escape the checked-out workspace or resolve through symlinks outside the workspace.
  • File paths in logs and PR comments now prefer workspace-relative paths.
  • JSON schema file skipping is now exact after realpath normalization, rather than substring-based.
  • update_comment only updates matching validation comments authored by github-actions[bot].

See the full migration guide for examples and compatibility notes.

What's Changed

Full Changelog: GrantBirki/json-yaml-validate@v4.0.0...v5.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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.

0 participants