Skip to content

feat: support config ignore patterns#343

Merged
cyberchen1995 merged 1 commit into
masterfrom
codex/config-ignore-gitignore
May 15, 2026
Merged

feat: support config ignore patterns#343
cyberchen1995 merged 1 commit into
masterfrom
codex/config-ignore-gitignore

Conversation

@cyberchen1995
Copy link
Copy Markdown
Collaborator

Summary

  • add config.optional.ignore with .gitignore-compatible path patterns
  • apply ignore rules before file scanning and archive traversal
  • avoid duplicate version output for -version

Test Plan

  • env GOCACHE=/private/tmp/opensca-go-build-cache GOTMPDIR=/private/tmp go test . ./cmd/config ./opensca ./opensca/walk ./opensca/sca/filter
  • env GOCACHE=/private/tmp/opensca-go-build-cache GOTMPDIR=/private/tmp go run . -version
  • git diff --check

@cyberchen1995 cyberchen1995 merged commit 3ce28bc into master May 15, 2026
4 checks passed
@cyberchen1995 cyberchen1995 deleted the codex/config-ignore-gitignore branch May 15, 2026 10:28
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.

1 participant