ci/eval/compare: fix without owners
Even without relevant owners, the owners.txt file must be created, otherwise the next job will fail.
This commit is contained in:
@@ -230,6 +230,7 @@ runCommand "compare"
|
|||||||
echo "This PR touches ''${#touchedFiles[@]} files"
|
echo "This PR touches ''${#touchedFiles[@]} files"
|
||||||
|
|
||||||
# TODO: Move ci/OWNERS to Nix and produce owners.json instead of owners.txt.
|
# TODO: Move ci/OWNERS to Nix and produce owners.json instead of owners.txt.
|
||||||
|
touch "$out/owners.txt"
|
||||||
for file in "''${touchedFiles[@]}"; do
|
for file in "''${touchedFiles[@]}"; do
|
||||||
result=$(codeowners --file "${ownersFile}" "$file")
|
result=$(codeowners --file "${ownersFile}" "$file")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user