From 8999fd1ac84b01bc7a0a698791f10efb2b1d3b18 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 22 Aug 2024 09:47:13 +0900 Subject: [PATCH] automerge needs windows results --- .github/workflows/windows.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 90741f03e5..ae8ace11f1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -198,6 +198,16 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot if: ${{ failure() }} + result: + if: ${{ always() }} + name: ${{ github.workflow }} result + runs-on: windows-latest + needs: [make] + steps: + - run: exit 1 + working-directory: + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} + defaults: run: working-directory: build