Skip to content

fix: ensure .gitignore is excluded from scanning [PS-571]#64

Draft
alexandru-manea-snyk wants to merge 1 commit intomainfrom
fix/PS-571/ensure-gitignore-files-is-excluded-from-upload
Draft

fix: ensure .gitignore is excluded from scanning [PS-571]#64
alexandru-manea-snyk wants to merge 1 commit intomainfrom
fix/PS-571/ensure-gitignore-files-is-excluded-from-upload

Conversation

@alexandru-manea-snyk
Copy link
Copy Markdown
Contributor

@alexandru-manea-snyk alexandru-manea-snyk commented Apr 17, 2026

What does this PR do?

This PR adds a rule to exclude .gitignore files from scanning.

Where should the reviewer start?

  • pkg/filefilter/file_filter_test.go: TestFilter_Logic.MustExcludeFiles ilustrates our desired behaviour.

How should this be manually tested?

Run the cmd/develop/main.go test on a folder containing only .gitignore. You should see No supported files found error.

What are the relevant tickets?

Risk assessment (Low | Medium | High)?

Low - this is intentional

Any background context you want to provide?

  • This behaviour is intentional

Screenshots (if appropriate)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 17, 2026

CLA assistant check
All committers have signed the CLA.

@alexandru-manea-snyk alexandru-manea-snyk force-pushed the fix/PS-571/ensure-gitignore-files-is-excluded-from-upload branch from c6e9e25 to 0fd9741 Compare April 17, 2026 15:14
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.

2 participants