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