Skip to content

feat: security updates for ci, workflows, deps and node24 runtime - #80

Merged
thelukewalton merged 5 commits into
mainfrom
deps/update
Nov 26, 2026
Merged

thelukewalton merged 5 commits into
mainfrom
deps/update

Conversation

@thelukewalton

@thelukewalton thelukewalton commented Aug 3, 2026 •

Copy link
Copy Markdown
Collaborator

Security updates for CI, workflows and dependencies, mirroring zeta-web #320.

CI / workflows

  • Pin all actions to commit SHAs (checkout v7.0.1, setup-node v7.1.0, flutter-action v2.23.0, release-please v5.0.0)
  • pull_request_target → pull_request, permissions: {} + per-job least privilege, persist-credentials: false
  • Replace the bot commit/push of dist with a check that fails if dist is stale — run yarn build and commit
  • Drop the pr / pr_owner environment gate (only needed for pull_request_target)
  • Add zizmor workflow, dependabot.yml (weekly, 7-day cooldown, majors ignored), SECURITY.md, .nvmrc

Action

  • Runtime node20 → node24 (Node 20 is EOL). Self-hosted runners need a runner version that supports node24.
  • tsconfig target es2022

Dependencies

  • Fixes all open Dependabot alerts: undici, handlebars, adm-zip, ip-address, brace-expansion, js-yaml, browserslist, fast-xml-parser, @fastify/busboy
  • Yarn 4.19.0, jest 30, @vercel/ncc pinned as a devDependency so dist builds are reproducible
  • yarn npm audit --recursive: no findings

Tests

  • tests/pass_repo ignores deprecated_member_use: Flutter 3.47+ deprecates package:flutter/material.dart, which was failing CI on latest stable

Supersedes #82, #84, #85, #86.

Note: the pull_request_target run of pull_request_checks comes from main's old workflow and fails on its bot push (403). It stops after this merges.

🤖 Generated with Claude Code

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s JavaScript/Yarn toolchain dependencies and lockfile, likely to pick up security/bugfix releases and align transitive dependency versions used by the GitHub Action build.

Changes:

  • Bumps Yarn from 4.17.1 to 4.18.0 and updates yarn.lock accordingly.
  • Updates dev tooling (ts-jest) and adds a new direct devDependency (minimatch).
  • Adds package.json resolutions pins for several transitive dependencies (e.g., undici, socks, glob, picomatch), and updates test fixture lcov files.

Reviewed changes

Copilot reviewed 3 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Regenerates lockfile with updated versions (glob/minimatch/picomatch/undici/etc.).
package.json Updates dev dependencies, adds resolutions, bumps Yarn package manager version.
.yarnrc.yml Points Yarn to the bundled yarn-4.18.0.cjs release.
tests/pass_repo/coverage/lcov.info Updates fixture coverage line-hit counts.
tests/pass_repo/.coverage/lcov.info Updates fixture coverage line-hit counts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Resolved
Comment thread tests/pass_repo/.coverage/lcov.info Resolved
thelukewalton and others added 2 commits August 13, 2026 10:01
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Pin all actions to SHAs, least-privilege permissions, persist-credentials: false
- pull_request_target -> pull_request; fail on stale dist instead of bot push
- Pin @vercel/ncc so dist builds are reproducible
- Add zizmor workflow, dependabot config, SECURITY.md, .nvmrc
- Run action on node24; tsconfig target es2022
- Yarn 4.19.0, jest 30, fix all open Dependabot alerts (undici, handlebars,
  adm-zip, ip-address, brace-expansion, js-yaml, browserslist, fast-xml-parser)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thelukewalton thelukewalton changed the title deps: Update yarn deps feat: security updates for ci, workflows, deps and node24 runtime Nov 25, 2026
Flutter 3.47+ deprecates package:flutter/material.dart, which made the
passing fixture report an info-level issue on CI's latest stable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thelukewalton
thelukewalton merged commit 573de0a into main Nov 26, 2026
8 of 9 checks passed
@thelukewalton
thelukewalton deleted the deps/update branch November 26, 2026 10:32

This branch had an error being deployed

1 failed deployment
pr_owner — 0f0c4192 Deployed Nov 25, 2026 by thelukewalton via pull_request_checks #121
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