Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "MergeWarden for AI PRs"
description: "Reports when a pull request edits the files coding agents read as instructions (CLAUDE.md, AGENTS.md, .mcp.json). Closes nothing."
description: "Reports when a pull request quietly edits CLAUDE.md, AGENTS.md or another agent instruction file. It closes nothing."
author: "MergeWarden contributors"

inputs:
Expand Down
2 changes: 1 addition & 1 deletion packages/action/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "MergeWarden for AI PRs"
description: "Reports when a pull request edits the files coding agents read as instructions (CLAUDE.md, AGENTS.md, .mcp.json). Closes nothing."
description: "Reports when a pull request quietly edits CLAUDE.md, AGENTS.md or another agent instruction file. It closes nothing."
author: "MergeWarden contributors"

inputs:
Expand Down
13 changes: 13 additions & 0 deletions packages/action/test/actionMetadata.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ describe("action metadata", () => {
expect(rootMetadata).toEqual(packageMetadata);
});

// The Marketplace listing takes its name and description from this file and silently
// refuses to publish a release whose description is too long: the listing simply keeps
// whatever it had before, so the repository looks updated and the page people arrive on
// does not change. That happened, and nothing here caught it.
it("keeps the Marketplace name and description publishable", () => {
const metadata = parse(rootAction) as { name?: unknown; description?: unknown };

expect(typeof metadata.name).toBe("string");
expect(typeof metadata.description).toBe("string");
expect((metadata.description as string).length).toBeLessThan(125);
expect((metadata.name as string).length).toBeLessThanOrEqual(100);
});

it("keeps self-dogfooding API-only and checkout-free", () => {
expect(selfDogfoodingWorkflow).not.toContain("actions/checkout");
expect(selfDogfoodingWorkflow).toContain("contents: read");
Expand Down
Loading