hyperdx/.github/workflows
Brandon Pereira 89868d2670
feat: Enhance Knip workflow for unused code analysis (#1973)
## Summary

This update improves the Knip GitHub Action by adding detailed reporting of unused code issues. The changes include:

- Enhanced issue counting to include a breakdown of items per category.
- Added a detailed summary section in the PR comment that lists added and removed items for each category when there are changes.
- Improved error handling to ensure consistent return values even when parsing fails.

These enhancements provide clearer insights into unused code changes between branches, aiding in code maintenance and quality.


| Before | After | 
| --- | --- | 
| <img width="569" height="451" alt="Screenshot 2026-03-23 at 4 44 43 PM" src="https://github.com/user-attachments/assets/01c2fdcc-802f-4046-8ab3-f3e92ec46ae0" /> | <img width="981" height="706" alt="Screenshot 2026-03-23 at 4 42 47 PM" src="https://github.com/user-attachments/assets/8fefeb74-1606-4a26-b307-3aa5ff76265f" /> | 


Note the additional details at bottom explaining the Function/Files causing diffs

Also, if no changes are detected, output is minimal:
<img width="1050" height="271" alt="Screenshot 2026-03-23 at 4 45 37 PM" src="https://github.com/user-attachments/assets/e075a5cd-4170-4999-a2c3-752447ac2f8a" />
2026-03-24 14:10:00 +00:00
..
claude-code-review.yml chore: skip claude code review on draft PRs (#1889) 2026-03-12 12:42:14 +01:00
claude.yml fix: revert previous fixes and disable claude code review (#1862) 2026-03-06 11:40:34 -05:00
e2e-tests.yml chore: separate e2e job (#1799) 2026-02-25 14:23:46 +00:00
knip.yml feat: Enhance Knip workflow for unused code analysis (#1973) 2026-03-24 14:10:00 +00:00
main.yml chore: separate e2e job (#1799) 2026-02-25 14:23:46 +00:00
push.yml ci: update workflows (v2 GA) (#884) 2025-05-29 21:01:40 +00:00
pushv1.yml ci: update workflows (v2 GA) (#884) 2025-05-29 21:01:40 +00:00
release-nightly.yml ci: Replace QEMU with native ARM64 runners for release builds (#1952) 2026-03-20 23:04:49 +00:00
release.yml ci: Replace QEMU with native ARM64 runners for release builds (#1952) 2026-03-20 23:04:49 +00:00
security-audit.yml chore: Add dependabot vulnerability notifications (#1942) 2026-03-18 17:02:22 -04:00