From 66eb9ecf5f9343dce90ed9dfba012905a2d7eb56 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Tue, 19 Apr 2022 15:29:00 +0100 Subject: [PATCH] announce cherrypick failure if PR is not mergable --- .github/workflows/cherryPick.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cherryPick.yml b/.github/workflows/cherryPick.yml index 407a16bb7464..81a74a8ebcb1 100644 --- a/.github/workflows/cherryPick.yml +++ b/.github/workflows/cherryPick.yml @@ -211,7 +211,7 @@ jobs: - name: 'Announces a CP failure in the #announce Slack room' uses: 8398a7/action-slack@v3 - if: ${{ failure() }} + if: ${{ failure() || !fromJSON(steps.isPullRequestMergeable.outputs.IS_MERGEABLE) }} with: status: custom custom_payload: |