Skip to content

ci: commit-lint.yml known-scope list missing sensitive-patterns scope #142

Description

@ndomako10

Finding

The known-scope list in `.github/workflows/commit-lint.yml` (line 48) does not include `sensitive-patterns`, which was added to CLAUDE.md as a first-class scope during the v4.1.0 cycle. Commits using `(sensitive-patterns)` emit a spurious ::warning:: annotation that the scope is unknown.

Impact

Every commit touching `Config/SensitivePatterns.json`, the template, or `Scripts/hooks/Invoke-SensitiveDataCheck.ps1` with the correct scope produces a misleading CI warning.

Fix

Add `sensitive-patterns` to the KNOWN variable in `.github/workflows/commit-lint.yml` line 48.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciHooks, CI pipeline, and workflow changes

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions