Skip to content

Fix file pattern matching to use repository-relative paths - #216

Open
strawberry-little-bear wants to merge 1 commit into
anc95:mainfrom
strawberry-little-bear:fix/filter-repository-relative-path
Open

strawberry-little-bear wants to merge 1 commit into
anc95:mainfrom
strawberry-little-bear:fix/filter-repository-relative-path

Conversation

@strawberry-little-bear

Copy link
Copy Markdown

Fixes #215

Summary

INCLUDE_PATTERNS and IGNORE_PATTERNS now match the repository-relative file.filename, matching the behavior already used by the exact-file IGNORE list. This prevents the owner, repository name, and GitHub API path components from participating in glob matching.

Test

  • npm test -- --runInBand

Verified on Windows with Node.js 24.15.1: 2 suites and 53 tests pass.

This branch has not been deployed

No deployments
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.

Include/ignore patterns are matched against the GitHub API URL instead of the repository-relative path

1 participant