fix(ci): docs-sync, openapi version, changelog format, pre-commit hook

- docs/openapi.yaml: update info.version from 2.3.6 to 2.4.1 (fixes CI check)
- CHANGELOG.md: add '## [Unreleased]' section as first heading (required by check-docs-sync)
- scripts/check-docs-sync.mjs: fix regex to accept both hyphen (-) and em-dash (—)
  as date separators in changelog headings (standard Keep a Changelog format)
- .husky/pre-commit: add 'node scripts/check-docs-sync.mjs' to catch version
  mismatches locally before push
This commit is contained in:
diegosouzapw
2026-03-13 11:45:32 -03:00
parent d976abb5e0
commit 45424ca226
5 changed files with 7 additions and 4 deletions

View File

@@ -1 +1,2 @@
npx lint-staged
node scripts/check-docs-sync.mjs