diff --git a/functions/create_issue.ts b/functions/create_issue.ts index 8e92035..4c8c289 100644 --- a/functions/create_issue.ts +++ b/functions/create_issue.ts @@ -38,8 +38,6 @@ export const CreateIssueDefinition = DefineFunction({ "githubAccessTokenId", "url", "title", - "description", - "assignees", ], }, output_parameters: { diff --git a/workflows/create_new_issue.ts b/workflows/create_new_issue.ts index 83afe6e..7c44e9c 100644 --- a/workflows/create_new_issue.ts +++ b/workflows/create_new_issue.ts @@ -45,6 +45,7 @@ const issueFormData = CreateNewIssueWorkflow.addStep( title: "Repository URL", description: "The GitHub URL of the repository", type: Schema.types.string, + format: "url", }, { name: "title", title: "Issue title", @@ -61,7 +62,7 @@ const issueFormData = CreateNewIssueWorkflow.addStep( "GitHub username(s) of the user(s) to assign the issue to (separated by commas)", type: Schema.types.string, }], - required: ["url", "title", "description", "assignees"], + required: ["url", "title"], }, }, );