Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Updated issue labeler script to include safety-check label (#12096)

Eric Traut57f4e3753989
diff --git a/.github/prompts/issue-labeler.txt b/.github/prompts/issue-labeler.txt
deleted file mode 100644
index 7e880d307f..0000000000
--- a/.github/prompts/issue-labeler.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-You are an assistant that reviews GitHub issues for the repository.
-
-Your job is to choose the most appropriate existing labels for the issue described later in this prompt.
-Follow these rules:
-- Only pick labels out of the list below.
-- Prefer a small set of precise labels over many broad ones.
-- If none of the labels fit, respond with an empty JSON array: []
-- Output must be a JSON array of label names (strings) with no additional commentary.
-
-Labels to apply:
-1. bug — Reproducible defects in Codex products (CLI, VS Code extension, web, auth).
-2. enhancement — Feature requests or usability improvements that ask for new capabilities, better ergonomics, or quality-of-life tweaks.
-3. extension — VS Code (or other IDE) extension-specific issues.
-4. windows-os — Bugs or friction specific to Windows environments (PowerShell behavior, path handling, copy/paste, OS-specific auth or tooling failures).
-5. mcp — Topics involving Model Context Protocol servers/clients.
-6. codex-web — Issues targeting the Codex web UI/Cloud experience.
-8. azure — Problems or requests tied to Azure OpenAI deployments.
-9. documentation — Updates or corrections needed in docs/README/config references (broken links, missing examples, outdated keys, clarification requests).
-10. model-behavior — Undesirable LLM behavior: forgetting goals, refusing work, hallucinating environment details, quota misreports, or other reasoning/performance anomalies.
-
-Issue information is available in environment variables:
-
-ISSUE_NUMBER
-ISSUE_TITLE
-ISSUE_BODY
-REPO_FULL_NAME
diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml
index 8146b8c5bd..174b219de9 100644
--- a/.github/workflows/issue-labeler.yml
+++ b/.github/workflows/issue-labeler.yml
@@ -50,14 +50,15 @@ jobs:
4. azure — Problems or requests tied to Azure OpenAI deployments.
5. model-behavior — Undesirable LLM behavior: forgetting goals, refusing work, hallucinating environment details, quota misreports, or other reasoning/performance anomalies.
6. code-review — Issues related to the code review feature or functionality.
- 7. auth - Problems related to authentication, login, or access tokens.
- 8. codex-exec - Problems related to the "codex exec" command or functionality.
- 9. context-management - Problems related to compaction, context windows, or available context reporting.
- 10. custom-model - Problems that involve using custom model providers, local models, or OSS models.
- 11. rate-limits - Problems related to token limits, rate limits, or token usage reporting.
- 12. sandbox - Issues related to local sandbox environments or tool call approvals to override sandbox restrictions.
- 13. tool-calls - Problems related to specific tool call invocations including unexpected errors, failures, or hangs.
- 14. TUI - Problems with the terminal user interface (TUI) including keyboard shortcuts, copy & pasting, menus, or screen update issues.
+ 7. safety-check - Issues related to cyber risk detection or trusted access verification.
+ 8. auth - Problems related to authentication, login, or access tokens.
+ 9. codex-exec - Problems related to the "codex exec" command or functionality.
+ 10. context-management - Problems related to compaction, context windows, or available context reporting.
+ 11. custom-model - Problems that involve using custom model providers, local models, or OSS models.
+ 12. rate-limits - Problems related to token limits, rate limits, or token usage reporting.
+ 13. sandbox - Issues related to local sandbox environments or tool call approvals to override sandbox restrictions.
+ 14. tool-calls - Problems related to specific tool call invocations including unexpected errors, failures, or hangs.
+ 15. TUI - Problems with the terminal user interface (TUI) including keyboard shortcuts, copy & pasting, menus, or screen update issues.
Issue number: ${{ github.event.issue.number }}