Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit89cfc5e

Browse files
committed
feat: preserve original comment content when updating with results
- Fetch original comment before updating- Append results below a horizontal divider- Keeps 'Started' message visible for full timeline- Add emojis to metadata (⏱️ 📋 🔗) for better visual separation
1 parent58be1b3 commit89cfc5e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎.github/workflows/documentation-check.yaml‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,20 @@ jobs:
266266
TASK_OUTPUT=$(cat /tmp/task_output.txt)
267267
DURATION=$(cat /tmp/task_duration.txt)
268268
269+
# Fetch the original comment to preserve it
270+
ORIGINAL_COMMENT=$(gh api "/repos/${GITHUB_REPOSITORY}/issues/comments/${COMMENT_ID}" --jq '.body')
271+
269272
COMMENT_BODY=$(cat <<EOF
270-
🤖 **Documentation Check Complete**
273+
${ORIGINAL_COMMENT}
274+
275+
---
271276
272277
${TASK_OUTPUT}
273278
274279
---
275280
⏱️ Execution time: **${DURATION}**
276-
Task: https://dev.coder.com/tasks/${TASK_NAME}
277-
[View workflow run](https://github.com/${GITHUB_REPOSITORY}/actions/runs/${RUN_ID})
281+
📋Task: https://dev.coder.com/tasks/${TASK_NAME}
282+
🔗[View workflow run](https://github.com/${GITHUB_REPOSITORY}/actions/runs/${RUN_ID})
278283
EOF
279284
)
280285

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp