Skip to content

Run the marketplace vally skill lint in CI - #201

Merged
Nikola Metulev (nmetulev) merged 2 commits into
stagingfrom
nmetulev-winapp-0-7-migration
Sep 30, 2026
Merged

Nikola Metulev (nmetulev) merged 2 commits into
stagingfrom
nmetulev-winapp-0-7-migration

Conversation

@nmetulev

Copy link
Copy Markdown
Member

Description

Run the same skill linter marketplaces use, so marketplace failures show up in our CI before submission. The awesome-copilot listing updates failed on vally valid-refs, which rejects markdown links outside a skill's own folder, after the release had already shipped.

  • New vally-lint job runs @microsoft/vally 0.12.0, the version github/awesome-copilot pins in its lockfile, via scripts/vally/lint-skills.mjs. The harness mirrors awesome-copilot's eng/external-plugin-quality-gates.mjs: it lints the skills paths declared in plugin.json, or the plugin root when none are declared, as in our case.
  • Removes the hand-written link check added in Keep skill links inside each skill directory (marketplace link validation) #200 so vally is the only implementation.
  • Dependabot tracks scripts/vally; CONTRIBUTING documents the local command (npm ci --prefix scripts/vally; node scripts/vally/lint-skills.mjs), and RELEASING adds vally-lint to the required checks.

Verified locally: on the pre-fix commit c1b6053, the job fails the same 7 skills that awesome-copilot's gate failed (exit 1). On current staging, all 8 skills pass (exit 0). The remaining plugin validator still passes.

Maintainers: add vally-lint to the required status checks in branch protection.

Type of Change

  • 🔧 Config / build / CI

Checklist

  • No version fields changed
  • Pure CI/tooling change, so no CHANGELOG entry per CONTRIBUTING

Add a vally-lint job that runs @microsoft/vally 0.12.0, the same linter and version github/awesome-copilot applies to external plugins, over the plugin the same way their quality gate does. Replace the hand-written link check from #200 so there is one source of truth, track the pinned dependency with Dependabot, and document the local command.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The lockfile was resolved against an internal npm mirror that is missing
five @github/copilot-sdk platform packages, leaving version-less stubs that
make npm ci fail with 'Invalid Version'. Rebuild it from the @microsoft/vally
0.12.0 dependency closure in github/awesome-copilot's lockfile so CI resolves
from registry.npmjs.org and matches the gate's transitive versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@nmetulev
Nikola Metulev (nmetulev) merged commit 774677a into staging Sep 30, 2026
10 checks passed
@nmetulev
Nikola Metulev (nmetulev) deleted the nmetulev-winapp-0-7-migration branch September 30, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant