Automate ER diagram generation and chain docs deployment#143
Merged
Conversation
- test_database.yml: generate tbls diagram to docs/tbls/ and SchemaCrawler PDF to diagrams/erdiagram_targetdb_latest.pdf after schema creation; commit results back to main on push events - test_database.yml: add paths-ignore for diagrams/ and docs/tbls/ to prevent infinite loop on diagram commits - deploy_docs_github_pages.yml: add workflow_run trigger so docs rebuild automatically after Test Database workflow completes - Remove 21 legacy timestamped PDF files from diagrams/; add .gitkeep to preserve the directory Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…arty Official actions (actions/*, github/*): updated to latest major tags - actions/checkout: v4/v5 → v6 - actions/configure-pages: v5 → v6 - actions/upload-pages-artifact: v4 → v5 - actions/deploy-pages: v4 → v5 - github/codeql-action: already on v3 Third-party actions: pinned to commit SHA for supply chain security - astral-sh/setup-uv: v4/v7 → SHA (v8.1.0) - k1low/setup-tbls: v1 → SHA (v1.4.0) - peter-evans/create-pull-request: v8 → SHA (v8.1.1) - codacy/codacy-analysis-cli-action: updated SHA from v1.1.0 → v4.4.7 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test_database.yml: automatically generate tbls and SchemaCrawler ER diagrams after schema creation; commit results todocs/tbls/anddiagrams/on push eventstest_database.yml: addpaths-ignorefordiagrams/**anddocs/tbls/**to prevent an infinite loop triggered by the diagram commitdeploy_docs_github_pages.yml: addworkflow_runtrigger so documentation is deployed automatically after the Test Database workflow completesdiagrams/: remove 21 legacy timestamped PDF files and replace with.gitkeep; CI will now manageerdiagram_targetdb_latest.pdfgoing forwardWorkflow
Test plan
test_database.ymlcompletes successfully after mergedocs/tbls/Markdown files are updated in the diagram commitdiagrams/erdiagram_targetdb_latest.pdfis generated and committeddeploy_docs_github_pages.ymlis triggered viaworkflow_runand GitHub Pages is updated🤖 Generated with Claude Code