Skip to content

ci: improve Node/tooling guardrails and add zizmor workflow scan#320

Open
thi-bot wants to merge 1 commit into
thibaudcolas:mainfrom
thi-bot:chore/ci-node-zizmor
Open

ci: improve Node/tooling guardrails and add zizmor workflow scan#320
thi-bot wants to merge 1 commit into
thibaudcolas:mainfrom
thi-bot:chore/ci-node-zizmor

Conversation

@thi-bot

@thi-bot thi-bot commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • update CI cache action from actions/cache@v3 to actions/cache@v4
  • declare supported runtime with engines in package.json (node >=22 <23, npm >=10)
  • add a dedicated zizmor GitHub Actions workflow to statically analyze workflow security

Why

  • keeps CI dependencies current
  • makes local and CI Node expectations explicit
  • adds proactive GitHub Actions security checks without touching React/Draft.js runtime dependencies

Validation

  • npm run lint
  • npm run test:ci

@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.

Comment thread .github/workflows/ci.yml
node-version-file: ".nvmrc"
- id: node-cache
uses: actions/cache@v3
uses: actions/cache@v4
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
persist-credentials: false

- name: Run zizmor 🌈
uses: zizmorcore/zizmor-action@v0.5.3
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.

2 participants