Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
add min_length specifications to Github Issue Template configs (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored Jun 25, 2021
1 parent bb74191 commit b5388d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pytypes/onefuzztypes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,15 +493,15 @@ class GithubIssueSearch(BaseModel):


class GithubAuth(BaseModel):
user: str
personal_access_token: str
user: str = Field(min_length=1)
personal_access_token: str = Field(min_length=1)


class GithubIssueTemplate(BaseModel):
auth: SecretData[GithubAuth]
organization: str
repository: str
title: str
organization: str = Field(min_length=1)
repository: str = Field(min_length=1)
title: str = Field(min_length=1)
body: str
unique_search: GithubIssueSearch
assignees: List[str]
Expand Down

0 comments on commit b5388d3

Please sign in to comment.