From 07a90d3260a2a1347a9b84f739dcbaad6204fb2b Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 20 Nov 2025 16:58:14 +0000 Subject: [PATCH] Switch to the other yq Annoyingly, there are two versions of yq: a comment in this file suggested we were using the Go-based version [1] but our usage indicated we were actually using the Python-based version [2]. Switch fully to the Go-based version, since that's available in the repos. [1] https://github.com/mikefarah/yq [2] https://github.com/kislyuk/yq Signed-off-by: Stephen Finucane --- team_ssh_keys.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team_ssh_keys.sh b/team_ssh_keys.sh index 557617d..f44d2d4 100755 --- a/team_ssh_keys.sh +++ b/team_ssh_keys.sh @@ -22,7 +22,7 @@ if [ -z "$OWNER_ALIASES" ]; then fi # shellcheck disable=SC2016 -MEMBERS=$(yq --arg team_name "$TEAM_NAME" -r '.aliases[$team_name] | join(" ")' <<< "$OWNER_ALIASES") +MEMBERS=$(yq -r '.aliases[env(TEAM_NAME)] | join(" ")' <<< "$OWNER_ALIASES") for member in $MEMBERS; do key=$(curl -s "https://github.com/$member.keys")