From 2602fca970b9e7ec4ce7ffe4e2eeb18c960c9627 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 25 Jun 2022 21:11:34 +0200 Subject: [PATCH] Use target commit SHA for build image workflow 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