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

add min_length specifications to Github Issue Template configs #1019

Merged
4 commits merged into from
Jun 25, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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