From 0d7c3d7088cbb1db834909b744aad851dc25a83a Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Wed, 11 Oct 2023 09:08:10 -0400 Subject: [PATCH] fix gate condition Signed-off-by: Alex Goodman --- .github/workflows/nightly-quality-gate.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-quality-gate.yaml b/.github/workflows/nightly-quality-gate.yaml index a6ba4ec0..077fccdc 100644 --- a/.github/workflows/nightly-quality-gate.yaml +++ b/.github/workflows/nightly-quality-gate.yaml @@ -72,8 +72,8 @@ jobs: # based on https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context # the valid result values are: success, failure, cancelled, skipped - run: | - echo "Validations Status: ${{ needs.run-provider-validation.result }}" - if [ "${{ needs.run-provider-validation.result }}" != "success" ]; then + echo "Validations Status: ${{ steps.validate-provider.result }}" + if [ "${{ steps.validate-provider.result }}" != "success" ]; then echo "🔴 Quality gate FAILED! 😭" exit 1 fi