diff --git a/.github/actions-scripts/content-changes-table-comment.js b/.github/actions-scripts/content-changes-table-comment.js index ad91d52bbd..380a33810d 100755 --- a/.github/actions-scripts/content-changes-table-comment.js +++ b/.github/actions-scripts/content-changes-table-comment.js @@ -82,9 +82,9 @@ for (const file of articleFiles) { previewCell += `${version}@ ` prodCell += `${version}@ ` - currentApplicableVersions.forEach((version) => { - previewCell += `[${version.split('@')[1]}](${APP_URL}/${version}/${fileUrl}) ` - prodCell += `[${version.split('@')[1]}](${PROD_URL}/${version}/${fileUrl}) ` + currentApplicableVersions.forEach((ghesVersion) => { + previewCell += `[${ghesVersion.split('@')[1]}](${APP_URL}/${ghesVersion}/${fileUrl}) ` + prodCell += `[${ghesVersion.split('@')[1]}](${PROD_URL}/${ghesVersion}/${fileUrl}) ` }) previewCell += '
' prodCell += '
'