Repository navigation
ci: add an optional npm dependency triage report - #295
Closed
PresentJay wants to merge 1 commit into
Closed
PresentJay wants to merge 1 commit into
PresentJay wants to merge 1 commit into
Conversation
Author
|
I contribute to zero-shelter. This proposes a manual HTML view of the full npm tree, including development tools, alongside your existing production audit. The outstanding contribution checklist items remain visible in the description. Would this reporting format be useful for your workflow? I can withdraw it if the extra report would be redundant. |
Owner
|
Thanks for taking the time to put this together and for the clear write-up. Since we already audit production dependencies in the release workflow, I'd rather keep the CI surface small and not add another report for now, so I'm going to close this. Appreciate the offer, though! |
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.
Pull Request Template
Description
I contribute to zero-shelter and am exploring where a manual HTML view of npm advisories is useful. Confluence CLI already audits production dependencies before publishing. This proposal offers an optional view of the full committed npm tree, including development tools. It needs no Confluence credentials or API calls. AI assistance was used for the change and validation.
Only
.github/workflows/dependency-report.ymlchanges. Dependency triage report usesworkflow_dispatch,contents: read, and Node 24 within this report job. It runsnpm audit --package-lock-only --ignore-scriptsfollowed by pinnedzero-shelter@0.0.10, retaining generated HTML for 7 days. It installs no project dependencies, runs no project lifecycle scripts and accepts no baseline. Finding exit1and judgement-error exit2fail the job. The existing production audit and release gate remain in place.Type of Change
This adds optional CI reporting only.
Testing
Stored validation at
3006d6562837recorded 3 raw, 3 merged and 3 outstanding findings; JSON and HTML exited1. It records 48 test suites / 1,946 tests and lint passing, plus YAML, shell and diff checks. Manifest and lockfile were unchanged. The checked items below refer to that saved validation, not a new test run. No fresh scan was made for this rewrite; the new hosted manual run remains unverified.The existing tests passed in the saved run; no new application test files are included.
Checklist
The self-review was agent-assisted. No README or other documentation update is included; unchecked contribution requirements remain for review.
Screenshots (if applicable)
No screenshot is included.
Additional Context
The input is npm alone, without runtime reachability assessment. Audit sends dependency metadata to the configured registry;
npxdownloads and executes third-party CLI code in CI. Read-only repository permissions do not remove that execution boundary.Does a full-tree HTML report fit your existing production-audit workflow? I can withdraw this if it would be redundant.