Skip to content

Commit fac4c58

Browse files
authored
fix: add maxLength: 65536 to create_issue and create_discussion body fields (#43911)
1 parent dd4c601 commit fac4c58

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

actions/setup/js/safe_outputs_tools.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"body": {
1414
"type": "string",
1515
"minLength": 20,
16+
"maxLength": 65536,
1617
"description": "Detailed issue description in Markdown. Must be the final intended body \u2014 not a placeholder or test value. Do NOT repeat the title as a heading since it already appears as the issue's h1. Include context, reproduction steps, or acceptance criteria as appropriate."
1718
},
1819
"labels": {
@@ -99,7 +100,8 @@
99100
},
100101
"body": {
101102
"type": "string",
102-
"description": "Discussion content in Markdown. Do NOT repeat the title as a heading since it already appears as the discussion's h1. Include all relevant context, findings, or questions. Maximum 10 KB (10240 bytes). If your content is larger, trim it, link to an external artifact (for example a gist), or upload content via upload_asset instead of inlining."
103+
"maxLength": 65536,
104+
"description": "Discussion content in Markdown. Do NOT repeat the title as a heading since it already appears as the discussion's h1. Include all relevant context, findings, or questions."
103105
},
104106
"category": {
105107
"type": "string",

pkg/workflow/js/safe_outputs_tools.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"body": {
1414
"type": "string",
1515
"minLength": 20,
16+
"maxLength": 65536,
1617
"description": "Detailed issue description in Markdown. Must be the final intended body \u2014 not a placeholder or test value. Do NOT repeat the title as a heading since it already appears as the issue's h1. Include context, reproduction steps, or acceptance criteria as appropriate."
1718
},
1819
"labels": {
@@ -99,7 +100,8 @@
99100
},
100101
"body": {
101102
"type": "string",
102-
"description": "Discussion content in Markdown. Do NOT repeat the title as a heading since it already appears as the discussion's h1. Include all relevant context, findings, or questions. Maximum 10 KB (10240 bytes). If your content is larger, trim it, link to an external artifact (for example a gist), or upload content via upload_asset instead of inlining."
103+
"maxLength": 65536,
104+
"description": "Discussion content in Markdown. Do NOT repeat the title as a heading since it already appears as the discussion's h1. Include all relevant context, findings, or questions."
103105
},
104106
"category": {
105107
"type": "string",

0 commit comments

Comments
 (0)