From 3c1b13011933c3390e42e374093052ad162369a9 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 9 Mar 2023 16:38:48 +0100 Subject: [PATCH] Only notify on failure --- .github/workflows/updatecli.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 770d3b51917..8a3c0398317 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -19,7 +19,8 @@ jobs: vaultRoleId: ${{ secrets.VAULT_ROLE_ID }} vaultSecretId: ${{ secrets.VAULT_SECRET_ID }} pipeline: .ci/updatecli.d - - uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current + - if: failure() + uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current with: vaultUrl: ${{ secrets.VAULT_ADDR }} vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}