mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 17:17:43 +01:00
ci: Fix icon preview comment
This commit is contained in:
6
.github/workflows/comment-icon-preview.yml
vendored
6
.github/workflows/comment-icon-preview.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user