ops: enable Dependabot, pin Actions to SHA, add npm audit gate - #66
Merged
Conversation
- Add .github/dependabot.yml covering npm and github-actions - Minor/patch updates grouped into one weekly PR (Monday 06:00 UTC) - Major bumps arrive individually for deliberate review - Open PR limit set to 5 to avoid noise - Update ci.yml to pin actions/checkout and actions/setup-node to immutable commit SHAs (v4.2.2 and v4.4.0 respectively) so mutable tags cannot be repointed to malicious code - Add 'npm audit --audit-level=high' step to CI; build fails on high or critical advisories - Add SECURITY.md documenting response SLAs (48 h ack, 7 d critical fix, 14 d high fix), scope, and dependency scanning approach Closes FinesseStudioLab#35
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.
Summary
Resolves #35 — all acceptance criteria met.
Changes
.github/dependabot.yml(new)npmandgithub-actionsecosystems.github/workflows/ci.yml(updated)actions/checkout→11bd71901bbe5b1630ceea73d27597364c9af683(v4.2.2)actions/setup-node→49933ea5288caeca8642d1e84afbd3f7d6820020(v4.4.0)npm audit --audit-level=highstep — build fails on high or critical advisoriesSECURITY.md(updated)What was tested
npm audit→ 0 vulnerabilitiesnpm run lint(tsc --noEmit) → cleannpm run build→ cleanAcceptance criteria checklist
npm auditgating CI on high and critical