-
Notifications
You must be signed in to change notification settings - Fork 20k
Modernize GitHub Action to auto-generate DIRECTORY.md #6308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize GitHub Action to auto-generate DIRECTORY.md #6308
Conversation
Codecov ReportAll 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, let's see how it works!
clang-format -i --style=file path/to/your/file.java
Refactored 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: