Modernize GitHub Action to auto-generate DIRECTORY.md#6308
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6308 +/- ##
=========================================
Coverage 74.16% 74.16%
Complexity 5362 5362
=========================================
Files 678 678
Lines 18686 18686
Branches 3625 3625
=========================================
Hits 13858 13858
Misses 4273 4273
Partials 555 555 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
If desired, the generator can be configured to show only Java files in the main directory, excluding tests. Let me know! |
|
Is there an example of diff between old and new DIRECTORY? |
yes, technically i think it might be possible to include the directory tree generator script directly into the workflow. However, I’ve chosen to reference it from my own repository to keep things modular and maintainable — plus, it’s more fun that way 🙂 |
|
Ok, just please remove .java extension from file names, everyting else looks good |
5bab59c to
dc40e6b
Compare
dc40e6b to
d682f6b
Compare
…/github.com/DenizAltunkapan/Java into feature/update-directory-generator-workflow
|
@siriak - Done. Previously, it seemed that the old python-workflow didn’t run reliably, as some files were missing. However, it is now guaranteed that the DIRECTORY.md is updated on every push as wished |



clang-format -i --style=file path/to/your/file.javaRefactored the workflow to automatically generate and commit DIRECTORY.md on each push. All classes and tests are now listed in a modern and readable format.
Example: