From 8059a57282aba2884449bc2d892166fa6aed3280 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 5 Jan 2025 21:31:18 +0100 Subject: [PATCH] Simplify the condition for generate-constraints (#45410) Constraints generation needs ci-image - so we should base it's running on the need to whether to create the images. --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae8a003342f8b..d820bd4c6ec47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -248,10 +248,7 @@ jobs: name: "Generate constraints" needs: [build-info, build-ci-images] uses: ./.github/workflows/generate-constraints.yml - if: > - needs.build-info.outputs.canary-run == 'true' || - (needs.build-info.outputs.ci-image-build == 'true' && - needs.build-info.outputs.only-new-ui-files != 'true') + if: needs.build-info.outputs.ci-image-build == 'true' with: runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }} python-versions-list-as-string: ${{ needs.build-info.outputs.python-versions-list-as-string }}