Commit 1282ee5
committed
fix: fall back to base query when namespace doesn't match any owner
Enterprise system hooks can have path_with_namespace that doesn't match
the Codecov Owner username (e.g. repo owned by an org, not the user in
the path). Try the narrowed query first, fall back to the original.
Made-with: Cursor1 parent afea6ff commit 1282ee5
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| |||
0 commit comments