The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Docs nightly gen edits (#62404)
Jeff Bruemmer5583aa331c41
diff --git a/.github/workflows/docs-master-generate.yml b/.github/workflows/docs-master-generate.ymlindex aa0316400ae..4a0867d7e3f 100644--- a/.github/workflows/docs-master-generate.yml+++ b/.github/workflows/docs-master-generate.yml@@ -86,27 +86,31 @@ jobs:# Count total changes for conditional messageTOTAL_CHANGES=$(git diff --name-only HEAD~1 docs/ 2>/dev/null | wc -l || echo "0")+ # Create PR body content+ PR_BODY="This PR contains automatically generated documentation updates.++ ## Changes detected+ The following documentation files were updated:+ $CHANGES_SUMMARY+ $([ "$TOTAL_CHANGES" -gt 10 ] && echo "- ... and more files")++ ## Generation commands+ Documentation was generated using:+ - \`clojure -M:ee:doc environment-variables-documentation\`+ - \`clojure -M:ee:doc config-template\`+ - \`clojure -M:ee:doc api-documentation\`++ Please review the changes and merge if they look correct."+# Retry PR creation up to 3 timesfor i in {1..3}; doif gh pr create \--base master \--head ${{ steps.commit_and_push.outputs.branch_name }} \- --title "Update generated docs (master)" \- --body "API, config template, and environment variable doc updates.--## Changes made-$CHANGES_SUMMARY-$([ "$TOTAL_CHANGES" -gt 10 ] && echo "- ... and more files")--## Generation commands-Documentation was generated using:-- \`clojure -M:ee:doc environment-variables-documentation\`-- \`clojure -M:ee:doc config-template\`-- \`clojure -M:ee:doc api-documentation\`--Review the changes before merging." \- --label "Type:Documentation" \- --label "no-backport"; then+ --title "Auto-update documentation from nightly build" \+ --body "$PR_BODY" \+ --label "Type:Documentation" \+ --label "no-backport"; thenecho "PR created successfully on attempt $i"breakelsediff --git a/.github/workflows/docs-release-generate.yml b/.github/workflows/docs-release-generate.ymlindex 2423e0463ef..614956b80e1 100644--- a/.github/workflows/docs-release-generate.yml+++ b/.github/workflows/docs-release-generate.yml@@ -91,27 +91,31 @@ jobs:# Count total changes for conditional messageTOTAL_CHANGES=$(git diff --name-only HEAD~1 docs/ 2>/dev/null | wc -l || echo "0")+ # Create PR body content+ PR_BODY="This PR contains automatically generated documentation updates.++ ## Changes detected+ The following documentation files were updated:+ $CHANGES_SUMMARY+ $([ "$TOTAL_CHANGES" -gt 10 ] && echo "- ... and more files")++ ## Generation commands+ Documentation was generated using:+ - \`clojure -M:ee:doc environment-variables-documentation\`+ - \`clojure -M:ee:doc config-template\`+ - \`clojure -M:ee:doc api-documentation\`++ Please review the changes and merge if they look correct."+# Retry PR creation up to 3 timesfor i in {1..3}; doif gh pr create \--base ${{ env.RELEASE_BRANCH }} \--head ${{ steps.commit_and_push.outputs.branch_name }} \- --title "Update generated docs (${{ env.RELEASE_BRANCH }})" \- --body "API, config template, and environment variable doc updates.--## Changes made-$CHANGES_SUMMARY-$([ "$TOTAL_CHANGES" -gt 10 ] && echo "- ... and more files")--## Generation commands-Documentation was generated using:-- \`clojure -M:ee:doc environment-variables-documentation\`-- \`clojure -M:ee:doc config-template\`-- \`clojure -M:ee:doc api-documentation\`--Review the changes before merging." \- --label "Type:Documentation" \- --label "no-backport"; then+ --title "Auto-update documentation for ${{ env.RELEASE_BRANCH }}" \+ --body "$PR_BODY" \+ --label "Type:Documentation" \+ --label "no-backport"; thenecho "PR created successfully on attempt $i"breakelse@@ -137,7 +141,10 @@ Review the changes before merging." \echo "## ✅ Documentation Updated Successfully" >> $GITHUB_STEP_SUMMARYecho "- Created branch: \`${{ steps.commit_and_push.outputs.branch_name }}\`" >> $GITHUB_STEP_SUMMARYecho "- Created PR for review targeting ${{ env.RELEASE_BRANCH }}" >> $GITHUB_STEP_SUMMARY- else+ elif [ "${{ steps.check_changes.outputs.changes }}" == "false" ]; thenecho "## ℹ️ No Documentation Changes" >> $GITHUB_STEP_SUMMARYecho "- All documentation is up to date" >> $GITHUB_STEP_SUMMARY+ else+ echo "## ⚠️ Workflow Summary Unavailable" >> $GITHUB_STEP_SUMMARY+ echo "- Could not determine documentation change status" >> $GITHUB_STEP_SUMMARYfi