From 03553b5bd9cd5f2ae44f63f58f93d13b556ffed3 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly-quality-gate.yaml b/.github/workflows/nightly-quality-gate.yaml index a6ba4ec0..895bbd8f 100644 --- a/.github/workflows/nightly-quality-gate.yaml +++ b/.github/workflows/nightly-quality-gate.yaml @@ -69,11 +69,11 @@ jobs: needs: validate-provider if: ${{ always() && !cancelled() }} steps: - # based on https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context - # the valid result values are: success, failure, cancelled, skipped + # based on https://docs.github.com/en/actions/learn-github-actions/contexts#job-context + # the valid result values are: success, failure, cancelled - run: | - echo "Validations Status: ${{ needs.run-provider-validation.result }}" - if [ "${{ needs.run-provider-validation.result }}" != "success" ]; then + echo "Validations Status: ${{ needs.validate-provider.result }}" + if [ "${{ needs.validate-provider.result }}" != "success" ]; then echo "🔴 Quality gate FAILED! 😭" exit 1 fi