diff --git a/scripts/unprivileged-owners.sh b/scripts/unprivileged-owners.sh index 372b35f..122b8b8 100755 --- a/scripts/unprivileged-owners.sh +++ b/scripts/unprivileged-owners.sh @@ -36,6 +36,11 @@ gh api \ --jq '.[].login' | sort > "$tmp/collaborators" +echo "These users are code owners:" +cat "$tmp/codeowners" +echo "These users are collaborators:" +cat "$tmp/collaborators" + # Figure out all the owners that aren't collaborators readarray -t unprivilegedOwners < <(comm -23 "$tmp/codeowners" "$tmp/collaborators")