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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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