Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil committed Apr 23, 2024
1 parent 7f9d15d commit 6f023bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/unprivileged-owners.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 6f023bf

Please sign in to comment.