function buildCommentBody()

in index.js [221:239]


function buildCommentBody(deploymentCommit, deploymentUrl, deploymentName) {
  if (!githubComment) {
    return undefined;
  }
  const prefix = `${buildCommentPrefix(deploymentName)}\n\n`;
  if (typeof githubComment === 'string' || githubComment instanceof String) {
    return prefix + githubComment;
  }
  return (
    prefix +
    stripIndents`
      ✅ Preview
      ${joinDeploymentUrls(deploymentUrl, aliasDomains)}
      
      Built with commit ${deploymentCommit}.
      This pull request is being automatically deployed with [vercel-action](https://github.com/marketplace/actions/vercel-action)
    `
  );
}