You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
parseChangelog misses PR links when repoUrl has a trailing .git suffix #126
The parser derives repoName with extractRepoName(repoUrl), then embeds that value in the regex used to match PR links. Today, extractRepoName('https://github.com/MetaMask/auto-changelog.git') returns auto-changelog.git, but real GitHub PR URLs are shaped like /MetaMask/auto-changelog/pull/123, without .git. As a result, valid PR links are silently ignored.
Expected: the change has prNumbers: ['123'] and the description no longer includes the PR link.
Actual: the PR link is left in the description and prNumbers is empty.
Suggested fix
Strip an optional trailing .git inside extractRepoName() itself, instead of relying on all callers to normalize repoUrl before calling parseChangelog().
Activity