Procházet zdrojové kódy

The slack notification should be sent if failed while merging.

Kamil Piechaczek před 5 roky
rodič
revize
591eb3ef58
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"