Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escape brackets for files owned with a file annotation #108

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

ashleywillard
Copy link
Contributor

@ashleywillard ashleywillard commented Nov 5, 2024

  • Update version

Background

When a file has special characters (brackets in this case) escaped with a backslash (e.g. \[taskId\]), the file shows the appropriate owner on Github.

When a file has special characters that are not escaped (e.g. [taskId]), it does not show an owner on Github.

Change

Modifies code_ownership to escape special characters for files with ownership declared with file annotations. This change was already made for escaping globs derived from .codeowner files: #106

@ashleywillard ashleywillard changed the title escape brackets for files owned with an annotation escape brackets for files owned with a file annotation Nov 5, 2024
@ashleywillard ashleywillard merged commit e1e01e5 into main Nov 6, 2024
5 checks passed
@ashleywillard ashleywillard deleted the aw/bracket-ownership-for-file-annotations branch November 6, 2024 21:52
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