Skip to content

memcache - chore: defense - lint workflows with zizmor - #116

Merged
jaredwray merged 2 commits into
mainfrom
cursor/defense-check-workflows-zizmor-2602
Aug 18, 2026
Merged

memcache - chore: defense - lint workflows with zizmor#116
jaredwray merged 2 commits into
mainfrom
cursor/defense-check-workflows-zizmor-2602

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

Lint GitHub Actions workflows with zizmor on every PR, and apply the settings zizmor requires so the job can pass.

Status update

DEFENSE_IN_DEPTH.md: § 4 zizmor → (PR #116 pending); persist-credentials → (PR #116 pending); publish-job cache disable → (PR #116 pending); SHA pinning → PR #113 (merged)

Changes

  • Add .github/workflows/check-workflows.yaml (zizmor-action v0.6.2, Socket Firewall, permissions: {})
  • persist-credentials: false on every checkout that does not push
  • package-manager-cache: false on setup-node in release.yaml and deploy-site.yaml
  • List the live CI controls in SECURITY.md

Local zizmor 1.29.0 reports no findings (21 suppressed). Regular test/coverage jobs still cache pnpm.

Verification

  • zizmor .github/workflows — no findings
  • npx actions-up --yes --style sha — already up to date
  • Followed the Contributing and Code of Conduct guidelines

Reference

defense-in-depth-nodejs § 4

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 18, 2026 17:02
Add check-workflows.yaml and clear the findings it would fail on:
persist-credentials: false on checkouts that do not push, and
package-manager-cache: false on publish/deploy setup-node steps.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (0351c0f) to head (52cd5f6).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #116   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines         1399      1399           
  Branches       308       308           
=========================================
  Hits          1399      1399           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 18, 2026 17:06
@jaredwray
jaredwray merged commit d74fefc into main Aug 18, 2026
17 checks passed
@jaredwray
jaredwray deleted the cursor/defense-check-workflows-zizmor-2602 branch August 18, 2026 17:11
jaredwray added a commit that referenced this pull request Aug 18, 2026
* chore: defense - stage npm releases instead of publishing live

Pack a tarball and run pnpm stage publish so CI can only stage; a
maintainer still has to promote. Reconcile zizmor items as merged in
PR #116.

Co-authored-by: Jared Wray <me@jaredwray.com>

* chore: defense - record PR #117 on stage-publish checklist

Co-authored-by: Jared Wray <me@jaredwray.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@jaredwray jaredwray mentioned this pull request Aug 19, 2026
4 tasks
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.

3 participants