From 2ffaebee255c73e7a137b55ac25b95c16e159d75 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 25 Jun 2022 23:34:11 +0200 Subject: [PATCH] Use target commit SHA for build image workflow (#24659) The build-image workflow should use TARGET_COMMIT_SHA as the selective check COMMIT_REF otherwise it might not build image when needed --- .github/workflows/build-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index e28a9d7619c5a..5c6b085b97c7c 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -121,7 +121,7 @@ jobs: id: selective-checks env: PR_LABELS: "$${{ steps.get-latest-pr-labels.outputs.pullRequestLabels }}" - COMMIT_REF: "${{ github.sha }}" + COMMIT_REF: "${{ env.TARGET_COMMIT_SHA }}" run: breeze selective-check - name: Compute dynamic outputs id: dynamic-outputs