ci: Fix icon preview comment

This commit is contained in:
Eric Fennis
2025-03-07 12:36:32 +01:00
parent 3aab3b9b08
commit 47303ac790

View File

@@ -38,14 +38,14 @@ jobs:
run: unzip pr_number.zip run: unzip pr_number.zip
- name: 'Get PR number' - name: 'Get PR number'
run: cat "NR" run: echo "number=$(cat NR)" >> $GITHUB_OUTPUT
id: pr-number id: pr-number
- name: Find Comment - name: Find Comment
uses: peter-evans/find-comment@v2 uses: peter-evans/find-comment@v2
id: pr-comment id: pr-comment
with: with:
issue-number: ${{ steps.pr-number.outputs.stdout }} issue-number: ${{ steps.pr-number.outputs.number }}
comment-author: 'github-actions[bot]' comment-author: 'github-actions[bot]'
body-includes: Added or changed icons body-includes: Added or changed icons
@@ -53,6 +53,6 @@ jobs:
uses: peter-evans/create-or-update-comment@v3 uses: peter-evans/create-or-update-comment@v3
with: with:
comment-id: ${{ steps.pr-comment.outputs.comment-id }} comment-id: ${{ steps.pr-comment.outputs.comment-id }}
issue-number: ${{ steps.pr-number.outputs.stdout }} issue-number: ${{ steps.pr-number.outputs.number }}
body-path: comment-markup.md body-path: comment-markup.md
edit-mode: replace edit-mode: replace