Skip to content

Commit 04442f4

Browse files
committed
ci: skip Slack Mantis comments without artifacts
1 parent 63de304 commit 04442f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/mantis-slack-desktop-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ jobs:
343343
permission-pull-requests: write
344344

345345
- name: Comment PR with inline QA evidence
346-
if: ${{ always() && inputs.pr_number != '' && steps.run_mantis.outputs.output_dir != '' }}
346+
if: ${{ always() && inputs.pr_number != '' && steps.run_mantis.outputs.output_dir != '' && steps.upload_artifact.outputs.artifact-url != '' }}
347347
env:
348348
GH_TOKEN: ${{ steps.mantis_app_token.outputs.token }}
349349
TARGET_PR: ${{ inputs.pr_number }}

0 commit comments

Comments
 (0)