Skip to content

Commit

Permalink
tools: use GitHub Squash and Merge feature when using CQ
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Nov 4, 2021
1 parent aa4adaf commit c3438ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/actions/commit-queue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ for pr in "$@"; do
cat output.json
gitHubCurl "$(mergeUrl "$pr")" PUT --data @output.json > output
cat output
if ! commits="$(jq 'if .merged then .sha else error("not merged") end' < output)"; then
if ! commits="$(jq -r 'if .merged then .sha else error("not merged") end' < output)"; then
commit_queue_failed "$pr"
continue
fi
Expand Down

0 comments on commit c3438ed

Please sign in to comment.