Skip to content

Commit c3438ed

Browse files
committed
tools: use GitHub Squash and Merge feature when using CQ
1 parent aa4adaf commit c3438ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/actions/commit-queue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ for pr in "$@"; do
114114
cat output.json
115115
gitHubCurl "$(mergeUrl "$pr")" PUT --data @output.json > output
116116
cat output
117-
if ! commits="$(jq 'if .merged then .sha else error("not merged") end' < output)"; then
117+
if ! commits="$(jq -r 'if .merged then .sha else error("not merged") end' < output)"; then
118118
commit_queue_failed "$pr"
119119
continue
120120
fi

0 commit comments

Comments
 (0)