diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef2be0dfde3ef..ae8a003342f8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -244,14 +244,14 @@ jobs: debug-resources: ${{ needs.build-info.outputs.debug-resources }} use-uv: ${{ needs.build-info.outputs.use-uv }} - generate-constraints: name: "Generate constraints" needs: [build-info, build-ci-images] uses: ./.github/workflows/generate-constraints.yml if: > - needs.build-info.outputs.ci-image-build == 'true' && - needs.build-info.outputs.only-new-ui-files != 'true' + needs.build-info.outputs.canary-run == 'true' || + (needs.build-info.outputs.ci-image-build == 'true' && + needs.build-info.outputs.only-new-ui-files != '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 }}