From 924598dfd53f0d74e01720027ec102e537695dda Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 20 Oct 2023 18:32:07 +0200 Subject: [PATCH] Run constraint branch checkout in non-canary build The constraint branch checkout needs to happen always when there is an "upgrade-to-newer-dependencies" build, not only wnen there is a "canary" main build, Otherwise when we attempt to update to diff constraints vs. the current ones the diff fails. Only the Commit and Push which are the folowing steps should happen exclusively in the canary run. --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9c136ba2444c..1e258b1857015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1736,10 +1736,8 @@ jobs: - name: "Set constraints branch name" id: constraints-branch run: ./scripts/ci/constraints/ci_branch_constraints.sh >> ${GITHUB_OUTPUT} - if: needs.build-info.outputs.canary-run == 'true' - name: Checkout ${{ steps.constraints-branch.outputs.branch }} uses: actions/checkout@v3 - if: needs.build-info.outputs.canary-run == 'true' with: path: "repo" ref: ${{ steps.constraints-branch.outputs.branch }}