Skip to content
Merged
Changes from all 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
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,11 @@ This tool should run from the root of the project repository for a new release.
return fmt.Errorf("failed to get authors for %s: %w", name, err)
}
if linkify || highlights {
if !strings.HasPrefix(dep.Name, "github.com/") {
repo := matches[0]
if !strings.HasPrefix(repo, "github.com/") {
logrus.Debugf("linkify only supported for Github, skipping %s", dep.Name)
} else {
ghname := dep.Name[11:]
ghname := repo[11:]
for _, change := range changes {
if err := githubChange(ghname, ghname, cache, refreshCache).process(change); err != nil {
return err
Expand Down
Loading