Description

Integrates the typos spell checker into CI to automatically catch typos in future PRs, as requested in #6532.

/claim #6532

Changes

.github/workflows/typos.yaml

  • Standalone workflow following existing repo patterns
  • Triggers on push to dev, pull requests, and manual dispatch
  • Uses actions/checkout@v6 (matching all other workflows)
  • Pins crate-ci/typos@v1 (versioned tag, not mutable branch ref)
  • Skips bot commits with !endsWith(github.actor, '[bot]')
  • Concurrency with cancel-in-progress: true

_typos.toml

Comprehensive exclusion config to avoid false positives:

  • Test data: **/testdata/**, integration_tests/**
  • Generated code: pkg/js/generated/**
  • Binary/media files: *.png, *.jpg, *.gif, *.exe, *.class, *.ser
  • Generated docs: dsl.md, SYNTAX-REFERENCE.md, nuclei-jsonschema.json
  • WAF data: pkg/output/stats/waf/regexes.json
  • Other: static/**, go.sum, README_*.md, bin/**
  • Domain-specific terms: CLI flag short names, protocol terms, Go idioms
  • Regex ignores: hex strings, base64-encoded data

Testing

Ran typos locally against the codebase — config suppresses all false positives while correctly catching real typos.

Type of change

  • Maintenance (CI/tooling improvement)

Summary by CodeRabbit

  • Chores
    • Enhanced code quality checks with configuration for typo detection, including custom word definitions and file exclusion patterns.

Claim

Total prize pool $125
Total paid $0
Status Pending
Submitted March 15, 2026
Last updated March 15, 2026

Contributors

يو

يوسف جمال يوسف محمد ناجي

@promisingcoder

100%

Sponsors

CR

cryptoaibot1738728800

@cryptoaibot1738728800

$100
PR

ProjectDiscovery

@projectdiscovery

$25