Commit afea290
fix: prevent dpulicate entries in owners files for global owners
this patch refactors the _GLOBAL_ODEOWNERS variable to a list,
additionally refactoring the logic when appending _GLOBAL_OWNERS to the
`teams` property of a `codeowners()` rule to ensure that users in
_GLOBAL_OWNERS are not duplicated in the generated output.1 parent a9a2ebe commit afea290
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments