Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
imdingtalk committed Jun 21, 2024
1 parent 9ae0f77 commit aae03e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/image-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
labels: 'image-mirror'

- name: Create comment
if: ${{ success() && steps.fc.outputs.comment-id == '' }}
if: ${{ steps.check_body.outputs.is_image_format == 'true' && steps.fc.outputs.comment-id == '' }}
uses: peter-evans/create-or-update-comment@v2
with:
issue-number: ${{ github.event.issue.number }}
Expand Down Expand Up @@ -113,6 +113,7 @@ jobs:
})
- id: get-comment-body
if: steps.check_body.outputs.is_image_format == 'true'
run: |
body="$(cat script.md)"
body="${body//'%'/'%25'}"
Expand Down

0 comments on commit aae03e6

Please sign in to comment.