File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ jobs:
141141 clean : false
142142
143143 - name : Find Existing Comment
144- if : ${{ github.event_name == 'pull_request_target' && steps.check-label.outputs.result == 'true' && steps.find-comment.outputs.comment-id == '' }}
144+ if : ${{ github.event_name == 'pull_request_target' && steps.check-label.outputs.result == 'true' }}
145145 id : find-comment2
146146 uses : peter-evans/find-comment@v3
147147 with :
@@ -150,7 +150,7 @@ jobs:
150150 body-includes : ${{ env.COMMENT_IDENTIFIER }}
151151
152152 - name : Update Comment with Preview Link
153- if : ${{ github.event_name == 'pull_request_target' && steps.check-label.outputs.result == 'true' && (steps.find-comment2.outputs.comment-id != ''|| steps.find-comment.outputs.comment-id != '') }}
153+ if : ${{ github.event_name == 'pull_request_target' && steps.check-label.outputs.result == 'true' }}
154154 uses : peter-evans/create-or-update-comment@v4
155155 with :
156156 comment-id : ${{ steps.find-comment2.outputs.comment-id }}
You can’t perform that action at this time.
0 commit comments