The idea started from my UML generator blog post. There was no github action associated with it, so why not create one.
- The workflow needs basic python setup step. You can customize it to your python version
- The workflow installs
pylint
andgraphviz
and uses that to generate class diagrams. You can generate it in supported formats - The generated files get uploaded to the repo
- If it's an image it gets referenced in the PR for review
The example workflow is under .github/workflows/action.yml