Files
burrow-server/.github/commitlint.config.mjs
SnipzilandClaude Opus 5.5 dc38a49749 ci: add security checks and commitlint on every push
Security workflow, on every push, pull request and weekly:
- invariants: no npm packages, no child_process/vm/eval in the server,
  no web address outside .github/allowed-hosts.json in the server or in
  the SWFs players load, no committed keys, all JavaScript parses
- secrets: TruffleHog over the pushed commits
- codeql: security-extended queries for the JavaScript and the workflows

Commit messages are checked against Conventional Commits; the commits
publish-public.sh makes are exempt. Actions are pinned to commit SHAs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 18:18:27 -04:00

16 lines
688 B
JavaScript

// commit messages follow Conventional Commits ("fix(trades): keep offers
// after a rename"), checked by .github/workflows/commitlint.yml.
//
// the commits the private repository's tools/publish-public.sh makes ("Brought
// up to date with the private repository (abc1234)") are left alone: they are
// written by a script and carry no change of their own to describe.
export default {
extends: ["@commitlint/config-conventional"],
ignores: [message => /^Brought up to date with the private repository \([0-9a-f]+\)/.test(message)],
rules: {
// long links and file paths in a body or footer are fine
"body-max-line-length": [0],
"footer-max-line-length": [0],
},
};