Skip to content

Commit 505ec30

Browse files
authoredJan 4, 2025
Merge pull request #14 from ossf/fix/repo-docs
fix: Corrected typo on Repository.Documentation
2 parents 15ffcf8 + 9db5042 commit 505ec30

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed
 

‎v2/si/security-insights.go

+14-10
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,13 @@ type Project struct {
5555
Administrators []Contact `yaml:"administrators"`
5656
Repositories []Repo `yaml:"repositories"`
5757
Vulnerability VulnReport `yaml:"vulnerability-reporting"`
58-
Documentation Docs `yaml:"documentation"`
58+
Documentation struct {
59+
DetailedGuide string `yaml:"detailed-guide"`
60+
CodeOfConduct string `yaml:"code-of-conduct"`
61+
QuickstartGuide string `yaml:"quickstart-guide"`
62+
ReleaseProcess string `yaml:"release-process"`
63+
SignatureVerification string `yaml:"signature-verification"`
64+
} `yaml:"documentation"`
5965
}
6066

6167
type Repo struct {
@@ -76,14 +82,6 @@ type VulnReport struct {
7682
OutOfScope []string `yaml:"out-of-scope"`
7783
}
7884

79-
type Docs struct {
80-
DetailedGuide string `yaml:"detailed-guide"`
81-
CodeOfConduct string `yaml:"code-of-conduct"`
82-
QuickstartGuide string `yaml:"quickstart-guide"`
83-
ReleaseProcess string `yaml:"release-process"`
84-
SignatureVerification string `yaml:"signature-verification"`
85-
}
86-
8785
type Repository struct {
8886
Status string `yaml:"status"`
8987
URL string `yaml:"url"`
@@ -94,8 +92,14 @@ type Repository struct {
9492
CoreTeam []Contact `yaml:"core-team"`
9593
License License `yaml:"license"`
9694
Security SecurityInfo `yaml:"security"`
97-
Documentation Docs `yaml:"documentation"`
9895
Release Release `yaml:"release"`
96+
Documentation struct {
97+
Contributing string `yaml:"contributing-guide"`
98+
DependencyManagement string `yaml:"dependency-management-policy"`
99+
Governance string `yaml:"governance"`
100+
ReviewPolicy string `yaml:"review-policy"`
101+
SecurityPolicy string `yaml:"security-policy"`
102+
} `yaml:"documentation"`
99103
}
100104

101105
type SecurityInfo struct {

0 commit comments

Comments
 (0)
Please sign in to comment.