mirror of
https://github.com/langgenius/dify.git
synced 2026-02-28 20:35:11 +00:00
fix(ci): fix invalid workflow file pyrefly-diff.yml (#32728)
This commit is contained in:
18
.github/workflows/pyrefly-diff.yml
vendored
18
.github/workflows/pyrefly-diff.yml
vendored
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user