From 2a2f4c30a1aea20d7e86315b3d3d54c0a1d345c9 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Tue, 3 Mar 2026 11:35:43 +0000 Subject: [PATCH] Add docs for `automationId` --- src/sarif/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sarif/index.ts b/src/sarif/index.ts index 34d41ef18..3cd537daf 100644 --- a/src/sarif/index.ts +++ b/src/sarif/index.ts @@ -6,8 +6,12 @@ import * as sarif from "sarif"; export type * from "sarif"; -// `automationId` is non-standard. +// Extends `ToolComponent` with the non-standard `automationId` property we use. export type RunKey = sarif.ToolComponent & { + /** + * Describes a SARIF run (either uniquely or not uniquely) based on the criteria used by + * Code Scanning to determine analysis categories + */ automationId: string | undefined; };