We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce38994 commit 33257a9Copy full SHA for 33257a9
ci/request-reviews/get-code-owners.sh
@@ -36,7 +36,8 @@ declare -A users=()
36
for file in "${touchedFiles[@]}"; do
37
result=$(codeowners --file "$tmp"/codeowners "$file")
38
39
- read -r file owners <<< "$result"
+ # Remove the file prefix and trim the surrounding spaces
40
+ read -r owners <<< "${result#"$file"}"
41
if [[ "$owners" == "(unowned)" ]]; then
42
log "File $file is unowned"
43
continue
0 commit comments