We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae0f77 commit aae03e6Copy full SHA for aae03e6
.github/workflows/image-mirror.yml
@@ -59,7 +59,7 @@ jobs:
59
labels: 'image-mirror'
60
61
- name: Create comment
62
- if: ${{ success() && steps.fc.outputs.comment-id == '' }}
+ if: ${{ steps.check_body.outputs.is_image_format == 'true' && steps.fc.outputs.comment-id == '' }}
63
uses: peter-evans/create-or-update-comment@v2
64
with:
65
issue-number: ${{ github.event.issue.number }}
@@ -113,6 +113,7 @@ jobs:
113
})
114
115
- id: get-comment-body
116
+ if: steps.check_body.outputs.is_image_format == 'true'
117
run: |
118
body="$(cat script.md)"
119
body="${body//'%'/'%25'}"
0 commit comments