mirror of
https://github.com/langgenius/dify.git
synced 2026-03-03 07:00:30 -05:00
fix: YAML syntax error in pyrefly-diff-comment workflow (#32718)
This commit is contained in:
9
.github/workflows/pyrefly-diff-comment.yml
vendored
9
.github/workflows/pyrefly-diff-comment.yml
vendored
@@ -77,14 +77,7 @@ jobs:
|
||||
}
|
||||
|
||||
const body = diff.trim()
|
||||
? `### Pyrefly Diff
|
||||
<details>
|
||||
<summary>base → PR</summary>
|
||||
|
||||
\`\`\`diff
|
||||
${diff}
|
||||
\`\`\`
|
||||
</details>`
|
||||
? '### Pyrefly Diff\n<details>\n<summary>base → PR</summary>\n\n```diff\n' + diff + '\n```\n</details>'
|
||||
: '### Pyrefly Diff\nNo changes detected.';
|
||||
|
||||
await github.rest.issues.createComment({
|
||||
|
||||
Reference in New Issue
Block a user