Skip to content

Commit 3328c0b

Browse files
Merge pull request #207 from shiftstack/ssh_keys_comment_multiline
team_ssh_keys: Comment keys accounting for multiple entries
2 parents 37b50ba + 2fbbfa5 commit 3328c0b

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)