Преглед изворни кода

The slack notification should be sent if failed while merging.

Kamil Piechaczek пре 5 година
родитељ
комит
591eb3ef58
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/merge-stable.yml

+ 1 - 1
.github/workflows/merge-stable.yml

@@ -22,7 +22,7 @@ jobs:
       - uses: rtCamp/action-slack-notify@v2.0.2
         id: error_message_slack
         name: Slack notification
-        if: (steps.merge_action.outputs.status != 201) && (steps.merge_action.outputs.status != 204)
+        if: ((steps.merge_action.outputs.status != 201) && (steps.merge_action.outputs.status != 204)) || failure()
         env:
           SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
           SLACK_CHANNEL: "cke5-ci"