You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a file foo/bar.go explicitly covered by CODEOWNERS, e.g.
foo/bar.go @org/team
and I open a PR which deletes foo/bar.go, I'd like codeowners-validator to fail with a message saying something like:
File foo/bar.go does not exist, yet is covered in CODEOWENERS line 1 by the rule foo/bar.go @org/team
Reasons
You could argue that a CODEOWNERS file that contains rules for non-existent files is invalid. An error like above (maybe it's configurable) would prevent CODEOWNERS files from getting stale.
The text was updated successfully, but these errors were encountered:
Description
If I have a file
foo/bar.go
explicitly covered by CODEOWNERS, e.g.and I open a PR which deletes
foo/bar.go
, I'd likecodeowners-validator
to fail with a message saying something like:Reasons
You could argue that a CODEOWNERS file that contains rules for non-existent files is invalid. An error like above (maybe it's configurable) would prevent CODEOWNERS files from getting stale.
The text was updated successfully, but these errors were encountered: