fix(automation): fix jq quoting error in pr-triage.sh (#16958)

Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
This commit is contained in:
김현수
2026-01-20 06:10:35 +09:00
committed by GitHub
parent 0a6f2e089f
commit 4b4bdd10b6

View File

@@ -142,7 +142,7 @@ JQ_EXTRACT_FIELDS='{
labels: [.labels[].name] | join(",")
}'
JQ_TSV_FORMAT='"\((.number | tostring))\t\(.isDraft)\t\((.issue // \"null\") | tostring)\t\(.labels)"' # Corrected escaping for quotes within the string literal
JQ_TSV_FORMAT='"\((.number | tostring))\t\(.isDraft)\t\((.issue // null) | tostring)\t\(.labels)"'
if [[ -n "${PR_NUMBER:-}" ]]; then
echo "🔄 Processing single PR #${PR_NUMBER}"