Files
local-deep-research/.github/workflows
LearningCircuit da0d18ed25 fix(release): set towncrier name to skip package import (#4071)
The release job uses a sparse checkout that omits src/ and runs a
standalone `pip install towncrier`. Towncrier 24.8 still calls
`get_project_name()` even when --version is passed on the CLI,
and the existing [tool.towncrier] config pointed at the
`local_deep_research` package, so the build crashed with
ModuleNotFoundError before rendering any fragments.

Set `name = "local-deep-research"` so towncrier short-circuits the
import path (build.py:195-197). Drop the now-misleading
`package`/`package_dir` fields — `--version` is always passed,
`directory = "changelog.d"` is explicit, and nothing else inside
towncrier still needs them. Fix the workflow comment that
misattributed the bypass to --version.

Verified by rendering changelog.d/*.md fragments against this
pyproject.toml in a fresh directory with no src/ present.
2026-05-17 02:30:51 +02:00
..

GitHub Actions Workflows

This directory contains GitHub Actions workflows for automated development tasks.

Update NPM Dependencies Workflow

File: update-npm-dependencies.yml

Purpose

Automatically updates NPM dependencies across all package.json files in the project and fixes security vulnerabilities.

Triggers

  • Scheduled: Every Thursday at 08:00 UTC (day after PDM updates)
  • Manual: Can be triggered manually via GitHub Actions UI
  • Workflow Call: Can be called by other workflows

What it does

  1. Security Audit: Runs npm audit to identify security vulnerabilities
  2. Security Fixes: Automatically fixes moderate+ severity vulnerabilities with npm audit fix
  3. Dependency Updates: Updates all dependencies to latest compatible versions with npm update
  4. Testing: Runs relevant tests to ensure updates don't break functionality
  5. Pull Request: Creates automated PR with all changes

Directories Managed

  • / - Main web dependencies (Vite, Bootstrap, etc.)
  • /tests/ui_tests - UI test dependencies (Puppeteer)

Branch Strategy

  • Creates branch: update-npm-dependencies-{run_number}
  • Targets: dev branch
  • Labels: maintenance
  • Reviewers: djpetti,HashedViking,LearningCircuit

Security Focus

  • Only auto-fixes moderate+ severity vulnerabilities
  • Preserves compatible version updates (no major version bumps)
  • Runs security audit before and after updates
  • Requires tests to pass before creating PR

Manual Usage

You can manually trigger this workflow:

  1. Go to Actions tab in GitHub
  2. Select "Update NPM dependencies"
  3. Click "Run workflow"
  4. Optionally specify custom npm arguments

Troubleshooting

  • If tests fail, the PR won't be created
  • Check the workflow logs for specific error messages
  • Security issues that can't be auto-fixed will need manual intervention