ci: skip Slack Mantis comments without artifacts

This commit is contained in:
Peter Steinberger
2026-05-05 15:15:57 +01:00
parent 63de304102
commit 04442f4c05

View File

@@ -343,7 +343,7 @@ jobs:
permission-pull-requests: write
- name: Comment PR with inline QA evidence
if: ${{ always() && inputs.pr_number != '' && steps.run_mantis.outputs.output_dir != '' }}
if: ${{ always() && inputs.pr_number != '' && steps.run_mantis.outputs.output_dir != '' && steps.upload_artifact.outputs.artifact-url != '' }}
env:
GH_TOKEN: ${{ steps.mantis_app_token.outputs.token }}
TARGET_PR: ${{ inputs.pr_number }}