mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 11:06:46 +08:00
fix(ci): fix invalid workflow file pyrefly-diff.yml (#32728)
This commit is contained in:
parent
87bf7401f1
commit
e4316a9bf6
18
.github/workflows/pyrefly-diff.yml
vendored
18
.github/workflows/pyrefly-diff.yml
vendored
@ -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({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user