Skip to content

ci: add Dependabot, security audit, release-please, and CI optimization#64

Merged
jackwener merged 7 commits intojackwener:mainfrom
ByteYue:npm_audit
Mar 18, 2026
Merged

ci: add Dependabot, security audit, release-please, and CI optimization#64
jackwener merged 7 commits intojackwener:mainfrom
ByteYue:npm_audit

Conversation

@ByteYue
Copy link
Contributor

@ByteYue ByteYue commented Mar 18, 2026

Description

Add CI/CD automation and hardening for the opencli project (Roadmap Phase 7.5, 7.6, 7.8, 7.9).

Changes

Dependabot

  • Weekly auto-update PRs for npm dependencies and GitHub Actions versions
  • Conventional commit prefixes (chore(deps), chore(ci))

Security Audit

  • New security.yml workflow: runs npm audit + audit-ci on push/PR and weekly
  • Fails CI on high-severity vulnerabilities (production deps only)

Changelog Automation

  • New release-please.ymlworkflow: auto-generates CHANGELOG.md and version bump PRs from Conventional Commits
  • Works alongside existing release.yml for npm publish on tag

CI Optimization

  • Add concurrency groups to ci.yml, e2e-headed.yml, security.yml— cancels duplicate runs on the same branch
  • Node.js version matrix (18 / 20 / 22) for unit tests with fail-fast: false

Checklist

  • No code changes — CI/config files only
  • All YAML files are valid
  • Existing workflows unchanged in behavior (additive only)

ByteYue and others added 7 commits March 18, 2026 23:07
- Weekly npm dependency updates with PR limit of 10
- Weekly GitHub Actions version updates with PR limit of 5
- Conventional commit prefixes (chore(deps), chore(ci))
- Run npm audit on push/PR and weekly schedule
- Fail on high-severity vulnerabilities using audit-ci
- Only audit production dependencies
- Auto-generate CHANGELOG.md from Conventional Commits
- Create version bump PRs on push to main
- Works alongside existing release.yml for npm publish
- Add concurrency groups to ci, e2e-headed, security workflows
  to cancel duplicate runs on the same branch
- Test unit tests across Node 18/20/22 with fail-fast: false
- Update test step name to show Node version
- Update engines.node in package.json to >=20.0.0
- Update prerequisites in README.md and README.zh-CN.md
- Remove Node 18 from CI test matrix
@jackwener jackwener merged commit 515ce75 into jackwener:main Mar 18, 2026
9 checks 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.

2 participants