mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:50:42 +00:00
docs: clarify messaging vs full tool profiles (#39954)
* docs: clarify messaging vs full tool profiles * docs: normalize tools.profile references * docs: clarify messaging and full tool profiles --------- Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
This commit is contained in:
@@ -558,6 +558,19 @@ describe("scripts/changed-lanes", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("keeps docs plus changelog entries on the docs-only changed gate", () => {
|
||||
const result = detectChangedLanes(["CHANGELOG.md", "docs/tools/index.md"]);
|
||||
const plan = createChangedCheckPlan(result);
|
||||
|
||||
expect(result.docsOnly).toBe(true);
|
||||
expect(result.lanes).toMatchObject({
|
||||
docs: true,
|
||||
releaseMetadata: false,
|
||||
all: false,
|
||||
});
|
||||
expect(plan.commands.map((command) => command.args[0])).not.toContain("release-metadata:check");
|
||||
});
|
||||
|
||||
it("guards release metadata package changes to the top-level version field", () => {
|
||||
const dir = makeTempRepoRoot(tempDirs, "openclaw-release-metadata-");
|
||||
git(dir, ["init", "-q", "--initial-branch=main"]);
|
||||
|
||||
Reference in New Issue
Block a user