Skip to content

ops: enable Dependabot, pin Actions to SHA, add npm audit gate - #66

Merged
joelpeace48-cell merged 1 commit into
FinesseStudioLab:mainfrom
DevSolex:main
Aug 24, 2026
Merged

ops: enable Dependabot, pin Actions to SHA, add npm audit gate#66
joelpeace48-cell merged 1 commit into
FinesseStudioLab:mainfrom
DevSolex:main

Conversation

@DevSolex

Copy link
Copy Markdown
Contributor

Summary

Resolves #35 — all acceptance criteria met.

Changes

.github/dependabot.yml (new)

  • Covers npm and github-actions ecosystems
  • Minor and patch updates are grouped into a single weekly PR (Mondays, 06:00 UTC) to reduce noise
  • Major version bumps arrive individually for deliberate review
  • Open PR limit capped at 5

.github/workflows/ci.yml (updated)

  • Pinned actions/checkout11bd71901bbe5b1630ceea73d27597364c9af683 (v4.2.2)
  • Pinned actions/setup-node49933ea5288caeca8642d1e84afbd3f7d6820020 (v4.4.0)
  • Added npm audit --audit-level=high step — build fails on high or critical advisories

SECURITY.md (updated)

  • Documents response SLAs: 48 h acknowledgement, 7 days for Critical, 14 days for High, ≤30 days for Medium/Low
  • Documents dependency scanning approach (Dependabot + npm audit + secret scanning)
  • Documents SHA-pinning policy and scope of security reports

What was tested

  • npm audit → 0 vulnerabilities
  • npm run lint (tsc --noEmit) → clean
  • npm run build → clean

Acceptance criteria checklist

  • Dependabot configured with sensible grouping
  • npm audit gating CI on high and critical
  • Actions pinned by SHA
  • Secret scanning and push protection — enabled via repository settings (must be toggled on by a repo admin in Settings → Code security)
  • Response timeline documented in SECURITY.md

- 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
@joelpeace48-cell
joelpeace48-cell merged commit a53d9dc into FinesseStudioLab:main Aug 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ops: enable Dependabot and dependency scanning

2 participants