Release v0.10.32: Semantic approval-runs link redesign, auth link standardization, and export defense
This commit is contained in:
1 parent
9060a28d8b
commit
972eff1436
31 files changed
+976
-288
No files matched your search
@@ -23,7 +23,12 @@ describe("CLI read-only classification", () => {
|
||||
const ACTIONS_WITHOUT_REGISTRY_ENTRY = new Set(["approval-runs search"]);
|
||||
|
||||
test("every allow-listed command exists in the help registry", () => {
|
||||
const byArea = new Map(HELP_REGISTRY.map((area) => [area.area, area.commands.map((c) => c.name)]));
|
||||
const byArea = new Map(
|
||||
HELP_REGISTRY.map((area) => [
|
||||
area.area,
|
||||
area.commands.flatMap((c) => [c.name, ...(c.aliases ?? [])])
|
||||
])
|
||||
);
|
||||
|
||||
for (const { area, action } of listReadOnlyCommands()) {
|
||||
if (ACTIONS_WITHOUT_REGISTRY_ENTRY.has(`${area} ${action}`)) continue;
|
||||
|
||||
Reference in new issue
Block a user