Skip to content

Commit 8c10ef8

Browse files
Merge pull request #220 from shiftstack/no-the-other-yq
Switch to the other yq
2 parents 8ec0465 + 07a90d3 commit 8c10ef8

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
@@ -22,7 +22,7 @@ if [ -z "$OWNER_ALIASES" ]; then
2222
fi
2323

2424
# shellcheck disable=SC2016
25-
MEMBERS=$(yq --arg team_name "$TEAM_NAME" -r '.aliases[$team_name] | join(" ")' <<< "$OWNER_ALIASES")
25+
MEMBERS=$(yq -r '.aliases[env(TEAM_NAME)] | join(" ")' <<< "$OWNER_ALIASES")
2626

2727
for member in $MEMBERS; do
2828
key=$(curl -s "https://github.com/$member.keys")

0 commit comments

Comments
 (0)