This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2ffaebee25 Use target commit SHA for build image workflow (#24659)
2ffaebee25 is described below

commit 2ffaebee255c73e7a137b55ac25b95c16e159d75
Author: Jarek Potiuk <jarek.pot...@polidea.com>
AuthorDate: Sat Jun 25 23:34:11 2022 +0200

    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 e28a9d7619..5c6b085b97 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

Reply via email to