From e4a644e2870b831842eba4b82d4e412ab4e4b0f0 Mon Sep 17 00:00:00 2001 From: Akshit Kr Nagpal Date: Mon, 16 Nov 2026 16:23:46 +0400 Subject: [PATCH] Validate the plugin manifests on every pull request Co-Authored-By: Claude Opus 5.5 --- .github/workflows/check.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..ba78e8f --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,31 @@ +# Validates the plugin manifests on every pull request and on main. +# Read-only token, no secrets, no dependencies. +name: Check + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +concurrency: + group: check-${{ github.ref }} + cancel-in-progress: true + +jobs: + check: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 24.17.0 + package-manager-cache: false + + - run: node scripts/validate-manifests.mjs