You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## `gh aw audit diff <base-run-id> <comparison-run-id> [<comparison-run-id>...]`
55
55
56
-
Compare behavior between two workflow runs. Detects policy regressions, new unauthorized domains, behavioral drift, and changes in MCP tool usage or run metrics.
56
+
Compare behavior between workflow runs. Detects policy regressions, new unauthorized domains, behavioral drift, and changes in MCP tool usage or run metrics.
57
57
58
58
**Arguments:**
59
59
60
60
| Argument | Description |
61
61
|----------|-------------|
62
-
|`<run-id-1>`| Numeric run ID for the baseline run |
63
-
|`<run-id-2>`| Numeric run ID for the comparison run |
62
+
|`<base-run-id>`| Numeric run ID for the baseline run |
63
+
|`<comparison-run-id>`| Numeric run ID for the comparison run |
64
+
|`[<comparison-run-id>...]`| Additional run IDs to compare against the same base |
65
+
66
+
The base run is downloaded once and reused when multiple comparison runs are provided. Self-comparisons and duplicate run IDs are rejected.
64
67
65
68
**Flags:**
66
69
@@ -79,11 +82,17 @@ The diff output includes:
79
82
- Anomaly flags (new denied domains, previously-denied domains now allowed)
# This file was automatically generated by gh-aw. DO NOT EDIT.
57
+
# ...
58
+
# Secrets used:
59
+
# - COPILOT_GITHUB_TOKEN
60
+
# - GITHUB_TOKEN
61
+
#
62
+
# Custom actions used:
63
+
# - actions/checkout@de0fac2e... # v6.0.2
64
+
# - actions/upload-artifact@bbbca2... # v4
65
+
```
66
+
67
+
The `gh-aw-metadata` line is always first, enabling reliable machine parsing. The `Secrets used` and `Custom actions used` sections list all `secrets.*` references and external `uses:` dependencies (excluding local `./` refs) found in the compiled workflow, sorted and deduplicated.
68
+
49
69
## Editing Workflows
50
70
51
71
The **markdown body** is loaded at runtime and can be edited directly on GitHub.com without recompilation. Only **frontmatter changes** require recompilation.
0 commit comments