mirror of
https://github.com/langgenius/dify.git
synced 2026-03-03 07:00:30 -05:00
chore(ci): fold pyrefly diff comments (#32685)
This commit is contained in:
11
.github/workflows/pyrefly-diff-comment.yml
vendored
11
.github/workflows/pyrefly-diff-comment.yml
vendored
@@ -77,8 +77,15 @@ jobs:
|
||||
}
|
||||
|
||||
const body = diff.trim()
|
||||
? `### Pyrefly Diff (base → PR)\\n\\`\\`\\`diff\\n${diff}\\n\\`\\`\\``
|
||||
: '### Pyrefly Diff\\nNo changes detected.';
|
||||
? `### Pyrefly Diff
|
||||
<details>
|
||||
<summary>base → PR</summary>
|
||||
|
||||
\`\`\`diff
|
||||
${diff}
|
||||
\`\`\`
|
||||
</details>`
|
||||
: '### Pyrefly Diff\nNo changes detected.';
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
issue_number: prNumber,
|
||||
|
||||
Reference in New Issue
Block a user