diff --git a/.github/workflows/pyrefly-diff-comment.yml b/.github/workflows/pyrefly-diff-comment.yml index b21aa17483..f9fbcba465 100644 --- a/.github/workflows/pyrefly-diff-comment.yml +++ b/.github/workflows/pyrefly-diff-comment.yml @@ -77,14 +77,7 @@ jobs: } const body = diff.trim() - ? `### Pyrefly Diff -
-base → PR - -\`\`\`diff -${diff} -\`\`\` -
` + ? '### Pyrefly Diff\n
\nbase → PR\n\n```diff\n' + diff + '\n```\n
' : '### Pyrefly Diff\nNo changes detected.'; await github.rest.issues.createComment({