Skip to content

Commit

Permalink
Fix generate-constraints job condition in canary run, to trigger if U…
Browse files Browse the repository at this point in the history
…I only file changes (#45409)
  • Loading branch information
gopidesupavan authored Jan 5, 2025
1 parent c5049d0 commit ca98be9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit ca98be9

Please sign in to comment.