Skip to content

Commit 071c1bb

Browse files
committed
squash! scripts: add pr_matches_codeowner()
try looking for .github/CODEOWNERS under current working directory
1 parent d5dbab1 commit 071c1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build_utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ src/script/build-with-container.py'
18311831
#
18321832
# return the pattern string of all lines matching the given codeowner
18331833
patterns_for_codeowner() {
1834-
grep -w "$1" "$WORKSPACE/ceph/.github/CODEOWNERS" | cut -f 1 -d " "
1834+
grep -w "$1" .github/CODEOWNERS | cut -f 1 -d " "
18351835
}
18361836

18371837
# return success (0) if the pr changes filenames that match the given codeowner

0 commit comments

Comments
 (0)