fix(ci): only add comment on PR and do not duplicate it (#1908)

This commit is contained in:
Vaclav Pavlin 2023-08-11 16:36:41 +02:00 committed by GitHub
parent 2575f3c4f2
commit b785b6ba15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,6 +162,7 @@ jobs:
- name: Comment PR - name: Comment PR
uses: thollander/actions-comment-pull-request@v2 uses: thollander/actions-comment-pull-request@v2
if: ${{ github.event_name == 'pull_request' }}
with: with:
message: | message: |
You can find the image built from this PR at You can find the image built from this PR at
@ -169,3 +170,4 @@ jobs:
``` ```
${{steps.build.outputs.image}} ${{steps.build.outputs.image}}
``` ```
comment_tag: execution