Skip to content

Commit

Permalink
Skip infra deploy status check if nothing to check (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenyu authored Jul 26, 2024
1 parent c5bbdc4 commit e037ced
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check-infra-deploy-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
runs-on: ubuntu-latest
needs: collect-configs

# Skip this job if there are no root module configurations to check,
# otherwise the GitHub actions will give the error: "Matrix must define at least one vector"
if: ${{ needs.collect-configs.outputs.root_module_configs != '[]' }}

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit e037ced

Please sign in to comment.