From c294500b9e1258150bf9a3b8d10aa5fe66eb81a7 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Thu, 6 Jan 2022 15:40:20 +0100 Subject: [PATCH] chore: use the linux build result in notification - the linux build status fails only for blocking PRs, it does not represent the actual build status --- .github/workflows/continuous-integration.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 725723dab..6f43dddce 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -471,8 +471,8 @@ jobs: env: SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} SLACK_ICON: https://pbs.twimg.com/profile_images/1274014582265298945/OjBKP9kn_400x400.png - SLACK_COLOR: ${{ job.status }} - SLACK_MESSAGE: "Build finished with status ${{ job.status }}. (${{ env.ACTION_RUN_URL }})" + SLACK_COLOR: ${{ needs.build-linux.result }} + SLACK_MESSAGE: "Build finished with status ${{ needs.build-linux.result }}. (${{ env.ACTION_RUN_URL }})" SLACK_USERNAME: ${{ secrets.BOT_USERNAME }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}