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

gopidesu pushed a commit to branch test-s3-publishing-docs
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/test-s3-publishing-docs by 
this push:
     new 559a0174bc6 Update default value for the EXCLUDE_DOCS
559a0174bc6 is described below

commit 559a0174bc61cfff13288a3cd2a4dd021604fff1
Author: Pavan Kumar <[email protected]>
AuthorDate: Thu Apr 24 12:31:33 2025 +0100

    Update default value for the EXCLUDE_DOCS
---
 .github/workflows/publish-docs-to-s3.yml                  | 2 +-
 dev/breeze/src/airflow_breeze/utils/publish_docs_to_s3.py | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-docs-to-s3.yml 
b/.github/workflows/publish-docs-to-s3.yml
index b786f3fb3da..538bfa91cf3 100644
--- a/.github/workflows/publish-docs-to-s3.yml
+++ b/.github/workflows/publish-docs-to-s3.yml
@@ -27,7 +27,7 @@ on:  # yamllint disable-line rule:truthy
       exclude-docs:
         description: "Comma separated list of docs to exclude"
         required: false
-        default: ""
+        default: "NO_DOCS"
         type: string
       destination-location:
         description: "The destination location in S3"
diff --git a/dev/breeze/src/airflow_breeze/utils/publish_docs_to_s3.py 
b/dev/breeze/src/airflow_breeze/utils/publish_docs_to_s3.py
index 3869ccc86c4..1caf5d5db0e 100644
--- a/dev/breeze/src/airflow_breeze/utils/publish_docs_to_s3.py
+++ b/dev/breeze/src/airflow_breeze/utils/publish_docs_to_s3.py
@@ -65,7 +65,9 @@ class S3DocsPublish:
     def get_all_excluded_docs(self):
         if not self.exclude_docs:
             return []
-        return self.exclude_docs.split(",")
+        excluded_docs = self.exclude_docs.split(",")
+        excluded_docs.remove("NO_DOCS")
+        return excluded_docs
 
     @cached_property
     def get_all_eligible_docs(self):

Reply via email to