-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat: check .codeowner
within directory if it is provided to for_file
#77
Conversation
71fa38a
to
ef269d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine to me! @shageman would you be able to verify this on the Gusto codebase?
ef269d2
to
961e9d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will also need to bump the version in code_ownership.gemspec
. That way, once tests pass on main, the new gem will automatically be pushed to rubygems without any additional work.
lib/code_ownership/private/ownership_mappers/directory_ownership.rb
Outdated
Show resolved
Hide resolved
lib/code_ownership/private/ownership_mappers/directory_ownership.rb
Outdated
Show resolved
Hide resolved
We confirmed that this works with Gusto's codebase. Please fix the conflicts and we'll merge the PR. Thanks for the contribution! |
If a directory is provided to
codownership for_file
check that directory for the presence of a.codeowner
file.