Renovate Bot 5ca4305167 chore(deps): update https://gitea.t000-n.de/t.behrendt/trivy-actions action to v1.3.4 (#22)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [https://gitea.t000-n.de/t.behrendt/trivy-actions](https://gitea.t000-n.de/t.behrendt/trivy-actions) | action | patch | `1.3.3` → `1.3.4` | `1.4.1` (+4) |

---

### Release Notes

<details>
<summary>t.behrendt/trivy-actions (https://gitea.t000-n.de/t.behrendt/trivy-actions)</summary>

### [`v1.3.4`](https://gitea.t000-n.de/t.behrendt/trivy-actions/compare/1.3.3...1.3.4)

[Compare Source](https://gitea.t000-n.de/t.behrendt/trivy-actions/compare/1.3.3...1.3.4)

</details>

---

### Configuration

📅 **Schedule**: 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFjdGlvbiIsImRlcHMiXX0=-->

Reviewed-on: #22
Reviewed-by: t.behrendt <t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2026-02-21 20:05:34 +01:00
2025-10-03 13:28:31 +02:00
2025-10-03 13:28:31 +02:00
2025-10-03 17:49:12 +02:00

Validate JSON by JSON Schema Action

A GitHub Action that automatically validates JSON files using their $schema reference. The action extracts the schema URL from the JSON file, downloads it, migrates it to the latest version, and validates the JSON against the schema.

Usage

- name: Validate JSON file
  uses: your-username/validate-json-by-json-schema-action@v1
  with:
    json-file: "path/to/your/file.json"

Inputs

Input Description Required Default
json-file The JSON file to validate Yes -

How it works

  1. Extracts the $schema URL from the specified JSON file
  2. Downloads the schema from the URL
  3. Migrates the schema to the latest version using ajv-cli
  4. Validates the JSON file against the schema
  5. Exits successfully if validation passes, fails if validation fails

Requirements

  • The JSON file must contain a $schema property with a valid URL
  • The schema URL must be accessible via HTTP/HTTPS
  • The action uses ajv-cli for validation with --strict=false mode
Description
A GitHub Action to automatically validate JSON files using their $schema reference.
Readme MIT 142 KiB