Skip to content

Commit aae03e6

Browse files
committed
check
1 parent 9ae0f77 commit aae03e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/image-mirror.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
labels: 'image-mirror'
6060

6161
- name: Create comment
62-
if: ${{ success() && steps.fc.outputs.comment-id == '' }}
62+
if: ${{ steps.check_body.outputs.is_image_format == 'true' && steps.fc.outputs.comment-id == '' }}
6363
uses: peter-evans/create-or-update-comment@v2
6464
with:
6565
issue-number: ${{ github.event.issue.number }}
@@ -113,6 +113,7 @@ jobs:
113113
})
114114
115115
- id: get-comment-body
116+
if: steps.check_body.outputs.is_image_format == 'true'
116117
run: |
117118
body="$(cat script.md)"
118119
body="${body//'%'/'%25'}"

0 commit comments

Comments
 (0)