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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new acac563513a HDDS-14747. Check config doc against PR (#9853)
acac563513a is described below

commit acac563513a8468c7e2eb41e64a20b2aff6574f5
Author: Sarveksha Yeshavantha Raju 
<[email protected]>
AuthorDate: Sun Mar 1 13:09:57 2026 +0530

    HDDS-14747. Check config doc against PR (#9853)
---
 .github/workflows/update-ozone-site-config-doc.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/update-ozone-site-config-doc.yml 
b/.github/workflows/update-ozone-site-config-doc.yml
index 581499fc1bd..9f986327a0f 100644
--- a/.github/workflows/update-ozone-site-config-doc.yml
+++ b/.github/workflows/update-ozone-site-config-doc.yml
@@ -57,6 +57,16 @@ jobs:
           git config --global user.email 
'github-actions[bot]@users.noreply.github.com'
           
           git clone --depth=1 --branch=master https://github.com/${{ 
github.repository_owner }}/ozone-site.git ozone-site
+          
+          # Check if automated-config-doc-update branch exists remotely
+          cd ozone-site
+          if git ls-remote --heads origin automated-config-doc-update | grep 
-q automated-config-doc-update; then
+            echo "PR branch exists, checking it out for comparison"
+            git fetch --depth=1 origin automated-config-doc-update
+            git checkout -B automated-config-doc-update FETCH_HEAD
+          else
+            echo "PR branch does not exist, staying on master for comparison"
+          fi
 
       - name: Check if documentation changed
         if: steps.check-site-repo.outputs.exists == 'true'


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to