Adds usernames to formatDescription (#28)

* Adds usernames to formatDescription

* Formatting
This commit is contained in:
Kamron Batman
2024-10-04 08:40:24 -04:00
committed by GitHub
parent 7de2fd1c2a
commit 940a1bd2d2
+1
View File
@@ -31,6 +31,7 @@ const formatDescription = (description) => {
const nlCount = (ws.match(/\n/g) || []).length
return nlCount >= 2 ? '\n\n' : '\n'
})
.replace(/@(\S+)/g, (match, name) => { return `[@${name}](https://github.com/${name})` })
.trim()
if (core.getBooleanInput('reduce_headings')) {