Skip to content

Commit

Permalink
fix gate condition (#327)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
  • Loading branch information
wagoodman committed Oct 11, 2023
1 parent ada8a7c commit cc1e7ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly-quality-gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc1e7ad

Please sign in to comment.