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 1c605fab44 Only run generate-constraints step when image is build 
(#35116)
1c605fab44 is described below

commit 1c605fab449e7f2e5c587dd26dfa7c9eefc35582
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Oct 23 10:31:32 2023 +0200

    Only run generate-constraints step when image is build (#35116)
    
    For very simple PRs (changing dev documentation or adding
    INTHEWILD, the image is not built, in those cases the
    generate-constraints job should not be run.
---
 .github/workflows/ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f769520820..535bb28841 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -345,6 +345,7 @@ jobs:
       RUNS_ON: "${{ needs.build-info.outputs.runs-on }}"
       PYTHON_VERSIONS: 
${{needs.build-info.outputs.all-python-versions-list-as-string}}
       DEBUG_RESOURCES: ${{needs.build-info.outputs.debug-resources}}
+    if: needs.build-info.outputs.image-build == 'true'
     steps:
       - name: Cleanup repo
         run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm 
-rf /workspace/*"

Reply via email to