Skip to content

Commit c3283c9

Browse files
committed
fix test err string
1 parent fc48cfe commit c3283c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/github/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ func ActionsRunTrigger(getClient GetClientFn, t translations.TranslationHelperFu
487487
return mcp.NewToolResultError("ref is required for run_workflow action"), nil
488488
}
489489
} else if runID == 0 {
490-
return mcp.NewToolResultError("run_id is required for this action"), nil
490+
return mcp.NewToolResultError("missing required parameter: run_id"), nil
491491
}
492492

493493
client, err := getClient(ctx)

pkg/github/actions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ func Test_DeleteWorkflowRunLogs(t *testing.T) {
637637
"repo": "repo",
638638
},
639639
expectError: true,
640-
expectedErrMsg: "run_id is required for this action",
640+
expectedErrMsg: "missing required parameter: run_id",
641641
},
642642
}
643643

0 commit comments

Comments
 (0)