Skip to content

Bump GrantBirki/json-yaml-validate from 4.0.0 to 5.0.0#107

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/GrantBirki/json-yaml-validate-5.0.0
Open

Bump GrantBirki/json-yaml-validate from 4.0.0 to 5.0.0#107
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/GrantBirki/json-yaml-validate-5.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps GrantBirki/json-yaml-validate from 4.0.0 to 5.0.0.

Release notes

Sourced from GrantBirki/json-yaml-validate's releases.

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

... (truncated)

Commits
  • 3ff7597 Merge pull request #143 from GrantBirki/strengthen-branch-coverage-tests
  • 03dd72c Enforce branch and function coverage
  • fcf4771 Strengthen branch coverage tests
  • abb38be Merge pull request #142 from GrantBirki/update-doc-examples-v5
  • 4a1c856 Update docs examples for v5
  • 50d5a99 Merge pull request #140 from GrantBirki/schema-mapping-realpath-overlaps
  • e20607e Merge branch 'main' into schema-mapping-realpath-overlaps
  • 1a3d068 Merge pull request #141 from GrantBirki/v5-migration-guide
  • 03c09a5 Add v5 migration guide
  • c558c87 Normalize schema mapping overlap checks
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [GrantBirki/json-yaml-validate](https://github.com/grantbirki/json-yaml-validate) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/grantbirki/json-yaml-validate/releases)
- [Commits](GrantBirki/json-yaml-validate@v4.0.0...v5.0.0)

---
updated-dependencies:
- dependency-name: GrantBirki/json-yaml-validate
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants