diff --git a/.github/workflows/snapshot-ci.yml b/.github/workflows/snapshot-ci.yml index ee2d00d7..a2c68a9c 100644 --- a/.github/workflows/snapshot-ci.yml +++ b/.github/workflows/snapshot-ci.yml @@ -180,7 +180,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "*Workflow details:*\n\n${{ steps.format_results.outputs.formatted_results }}\n\nSee logs on " + "text": "*Workflow details:*\n\n${{ steps.format_results.outputs.formatted_results }}\n\n@channel - See logs on " } } ] @@ -192,6 +192,7 @@ jobs: - name: Send Slack Notification uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 + if: ${{ steps.workflow_status.outputs.status != 'Successful' || github.event_name == 'workflow_dispatch' }} with: author_name: 'powsybl-afs on GitHub' status: custom