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

potiuk 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 f264da5a20 Add missing "in-workflow-build" check in regular PR 
workflow (#35503)
f264da5a20 is described below

commit f264da5a2063d8ee40a5e4692216b8499873b95a
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Nov 7 14:12:59 2023 +0100

    Add missing "in-workflow-build" check in regular PR workflow (#35503)
    
    The PROD build step in regular workflow should be skipped but
    after recent bullseye-related change #35487, the step fails because of
    missing check for in-workflow-build.
    
    This PR fixes those.
---
 .github/workflows/ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 206762d953..0af32baf10 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -417,6 +417,7 @@ jobs:
         if: needs.build-info.outputs.in-workflow-build == 'true'
       - name: "Install Breeze"
         uses: ./.github/actions/breeze
+        if: needs.build-info.outputs.in-workflow-build == 'true'
       - name: >
           Pull CI image for PROD build:
           ${{ steps.selective-checks.outputs.default-python-version }}:${{ 
env.IMAGE_TAG }}"
@@ -424,6 +425,7 @@ jobs:
         run: breeze ci-image pull --tag-as-latest
         env:
           PYTHON_MAJOR_MINOR_VERSION: ${{ 
steps.selective-checks.outputs.default-python-version }}
+        if: needs.build-info.outputs.in-workflow-build == 'true'
       - name: >
           Build PROD Images
           
${{needs.build-info.outputs.all-python-versions-list-as-string}}:${{env.IMAGE_TAG}}

Reply via email to