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
# External (non-OpenAI) Pull Request Requirements
Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md
If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.
You are an assistant that reviews GitHub issues for the repository.
28
+
29
+
Your job is to choose the most appropriate existing labels for the issue described later in this prompt.
30
+
Follow these rules:
31
+
- Only pick labels out of the list below.
32
+
- Prefer a small set of precise labels over many broad ones.
33
+
34
+
Labels to apply:
35
+
1. bug — Reproducible defects in Codex products (CLI, VS Code extension, web, auth).
36
+
2. enhancement — Feature requests or usability improvements that ask for new capabilities, better ergonomics, or quality-of-life tweaks.
37
+
3. extension — VS Code (or other IDE) extension-specific issues.
38
+
4. windows-os — Bugs or friction specific to Windows environments (always when PowerShell is mentioned, path handling, copy/paste, OS-specific auth or tooling failures).
39
+
5. mcp — Topics involving Model Context Protocol servers/clients.
40
+
6. codex-web — Issues targeting the Codex web UI/Cloud experience.
41
+
8. azure — Problems or requests tied to Azure OpenAI deployments.
42
+
9. documentation — Updates or corrections needed in docs/README/config references (broken links, missing examples, outdated keys, clarification requests).
43
+
10. model-behavior — Undesirable LLM behavior: forgetting goals, refusing work, hallucinating environment details, quota misreports, or other reasoning/performance anomalies.
44
+
45
+
Issue number: ${{ github.event.issue.number }}
46
+
47
+
Issue title:
48
+
${{ github.event.issue.title }}
49
+
50
+
Issue body:
51
+
${{ github.event.issue.body }}
52
+
53
+
Repository full name:
54
+
${{ github.repository }}
55
+
56
+
output_schema: |
57
+
{
58
+
"type": "object",
59
+
"properties": {
60
+
"labels": {
61
+
"type": "array",
62
+
"items": {
63
+
"type": "string"
64
+
}
65
+
}
66
+
},
67
+
"required": ["labels"],
68
+
"additionalProperties": false
69
+
}
33
70
34
71
apply-labels:
35
72
name: Apply labels from Codex output
@@ -53,12 +90,12 @@ jobs:
53
90
exit 0
54
91
fi
55
92
56
-
if ! printf '%s' "$json" | jq -e 'type == "array"' >/dev/null 2>&1; then
57
-
echo "Codex output was not a JSON array. Raw output: $json"
93
+
if ! printf '%s' "$json" | jq -e 'type == "object" and (.labels | type == "array")' >/dev/null 2>&1; then
94
+
echo "Codex output did not include a labels array. Raw output: $json"
0 commit comments