fix(ci): fix invalid workflow file pyrefly-diff.yml (#32728)

This commit is contained in:
Tyson Cung
2026-02-28 14:26:48 +08:00
committed by GitHub
parent 87bf7401f1
commit e4316a9bf6

View File

@@ -74,14 +74,16 @@ jobs:
}
const body = diff.trim()
? `### Pyrefly Diff
<details>
<summary>base → PR</summary>
\`\`\`diff
${diff}
\`\`\`
</details>`
? [
'### Pyrefly Diff',
'<details>',
'<summary>base → PR</summary>',
'',
'```diff',
diff,
'```',
'</details>',
].join('\n')
: '### Pyrefly Diff\nNo changes detected.';
await github.rest.issues.createComment({