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
Copy file name to clipboardExpand all lines: actions/setup/js/safe_outputs_tools.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -160,15 +160,15 @@
160
160
"description": "Add a comment to an existing GitHub issue, pull request, or discussion. Use this to provide feedback, answer questions, or add information to an existing conversation. For creating new items, use create_issue, create_discussion, or create_pull_request instead.",
161
161
"inputSchema": {
162
162
"type": "object",
163
-
"required": ["body", "item_number"],
163
+
"required": ["body"],
164
164
"properties": {
165
165
"body": {
166
166
"type": "string",
167
167
"description": "Comment content in Markdown. Provide helpful, relevant information that adds value to the conversation."
168
168
},
169
169
"item_number": {
170
170
"type": "number",
171
-
"description": "The issue, pull request, or discussion number to comment on. This is the numeric ID from the GitHub URL (e.g., 123 in github.com/owner/repo/issues/123). Must be a valid existing item in the repository. Required."
171
+
"description": "The issue, pull request, or discussion number to comment on. This is the numeric ID from the GitHub URL (e.g., 123 in github.com/owner/repo/issues/123). If omitted, the tool will attempt to resolve the target from the current workflow context (triggering issue, PR, or discussion)."
Copy file name to clipboardExpand all lines: pkg/workflow/js/safe_outputs_tools.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -219,8 +219,7 @@
219
219
"inputSchema": {
220
220
"type": "object",
221
221
"required": [
222
-
"body",
223
-
"item_number"
222
+
"body"
224
223
],
225
224
"properties": {
226
225
"body": {
@@ -229,7 +228,7 @@
229
228
},
230
229
"item_number": {
231
230
"type": "number",
232
-
"description": "The issue, pull request, or discussion number to comment on. This is the numeric ID from the GitHub URL (e.g., 123 in github.com/owner/repo/issues/123). Must be a valid existing item in the repository. Required."
231
+
"description": "The issue, pull request, or discussion number to comment on. This is the numeric ID from the GitHub URL (e.g., 123 in github.com/owner/repo/issues/123). If omitted, the tool will attempt to resolve the target from the current workflow context (triggering issue, PR, or discussion)."
0 commit comments