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
3.**Run AI review, once per prompt** — for each `.md` under
195
+
4.**Run AI review, once per prompt** — for each `.md` under
185
196
`.github/ai-prompts/` (except `README.md`), calls
186
197
`.github/scripts/ai-review.sh`, which:
187
198
- Calls the **ThreatWinds AI**`/chat/completions` endpoint with the
@@ -206,9 +217,10 @@ at all.
206
217
`.github/ai-prompts/` — the loop in `pr-checks.yml` discovers it at
207
218
runtime, no YAML changes needed. **Default model:**`gemini-3-flash-lite`;
208
219
each prompt can pin its own in frontmatter (`model: gemini-3-pro`, etc.).
209
-
4.**Post the comment** — `.github/scripts/post-ai-review-comment.sh` reads
210
-
every JSON file, builds one combined markdown comment (severity/tier
211
-
only drive wording/icon), and upserts a single sticky comment (marker
220
+
5.**Post the comment** — `.github/scripts/post-ai-review-comment.sh` reads
221
+
every JSON file plus the Go deps output/exit code, builds one combined
222
+
markdown comment (severity/tier and the deps exit code only drive
223
+
wording/icon), and upserts a single sticky comment (marker
212
224
`<!-- approver:ai -->`, kept from the previous design so in-flight PRs
213
225
keep updating the same comment). Never fails, never blocks, never
214
226
@mentions anyone.
@@ -343,7 +355,7 @@ The installer is uploaded as a release asset.
343
355
344
356
| Secret | Used in | Description |
345
357
|--------|---------|-------------|
346
-
|`API_SECRET`| v10, v11 deploy, installer| GitHub PAT with `read:org` scope. Used by deployment workflows for team-membership validation and for fetching private `utmstack/*` Go modules. **Not used by `pr-checks.yml`** — that workflow has no team-membership check. |
358
+
|`API_SECRET`| v10, v11 deploy, installer, pr-checks | GitHub PAT with `read:org` scope. Used by deployment workflows for team-membership validation, and by `pr-checks.yml`'s "Check Go dependencies" step to fetch private `utmstack/*` Go modules via `go list`. **Not used for any team-membership check in `pr-checks.yml`** — that workflow has none. |
0 commit comments