diff --git a/.github/workflows/push-important-models.yml b/.github/workflows/push-important-models.yml index db34cb0fc5..41bcd43fcc 100644 --- a/.github/workflows/push-important-models.yml +++ b/.github/workflows/push-important-models.yml @@ -136,5 +136,7 @@ jobs: benchmark: name: Benchmark workflow + needs: get_modified_models + if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.get_modified_models.outputs.matrix)[0] != null }} uses: ./.github/workflows/benchmark.yml secrets: inherit