Skip to content

Commit 2fbbfa5

Browse files
team_ssh_keys: Comment keys accounting for multiple entries
As Github allows including more than a key, switch to a style of commenting that is clear when there is more than one key per person.
1 parent 37b50ba commit 2fbbfa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

team_ssh_keys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ MEMBERS=$(yq --arg team_name "$TEAM_NAME" -r '.aliases[$team_name] | join(" ")'
2626

2727
for member in $MEMBERS; do
2828
key=$(curl -s "https://github.com/$member.keys")
29-
echo "$key $member"
29+
printf '# %s\n%s\n\n' "$member" "$key"
3030
done

0 commit comments

Comments
 (0)