Unverified Commit c0b6cc93 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

ci/eval/compare: fix without owners

Even without relevant owners, the owners.txt file must be created,
otherwise the next job will fail.
parent f0a359b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -230,6 +230,7 @@ runCommand "compare"
    echo "This PR touches ''${#touchedFiles[@]} files"

    # TODO: Move ci/OWNERS to Nix and produce owners.json instead of owners.txt.
    touch "$out/owners.txt"
    for file in "''${touchedFiles[@]}"; do
        result=$(codeowners --file "${ownersFile}" "$file")