Skip to content

Commit

Permalink
Prefer optional and formatted values in the "Create issue" form (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg authored Oct 31, 2023
1 parent 96d6fce commit 766ed8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions functions/create_issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export const CreateIssueDefinition = DefineFunction({
"githubAccessTokenId",
"url",
"title",
"description",
"assignees",
],
},
output_parameters: {
Expand Down
3 changes: 2 additions & 1 deletion workflows/create_new_issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"],
},
},
);
Expand Down

0 comments on commit 766ed8b

Please sign in to comment.