From 7df139a08949bd8bd8b8c13da937b7bbd6f73d94 Mon Sep 17 00:00:00 2001
From: Nemo <commits@captnemo.in>
Date: Mon, 03 Feb 2025 12:57:08 +0530
Subject: [PATCH] Validate schema

---
 .github/workflows/update.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml
index 7357656..c595310 100644
--- a/.github/workflows/update.yaml
+++ a/.github/workflows/update.yaml
@@ -28,6 +28,11 @@
         git add photon-wiki
         python generate.py
       id: update_advisories
+    - name: Validate OSV Schema
+      uses: lyubick/action-YAML-schema-validator@v4
+      with:
+          json-schema-file: https://raw.githubusercontent.com/ossf/osv-schema/refs/heads/main/validation/schema.json
+          yaml-json-file-dir: advisories
     - uses: stefanzweifel/git-auto-commit-action@v4
       with:
         commit_message: Update Advisories
--
rgit 0.1.5