We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d7487 commit 9a73e40Copy full SHA for 9a73e40
pkg/types/types.go
@@ -22,4 +22,5 @@ type Presentations []struct {
22
}
23
Projects []string `yaml:"projects"`
24
Tags []string `yaml:"tags"`
25
+ Repos []string `yaml:"repos"`
26
pkg/verify/verify.go
@@ -61,6 +61,12 @@ func Verify(f string) error {
61
62
63
64
+ for _, repo := range entry.Repos {
65
+ if resp, err := http.Get(repo); err != nil || resp.StatusCode >= 400 {
66
+ errors = append(errors, fmt.Errorf("invalid repo URL: %s", repo))
67
+ }
68
69
+
70
for _, presenter := range entry.Presenters {
71
if presenter.Github != "" {
72
githubURL := fmt.Sprintf("https://github.com/%s", presenter.Github)
0 commit comments