File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,9 +141,9 @@ jobs:
141141 } > "$RUNNER_TEMP/mima-comment.md"
142142
143143 if [ -n "$comment_id" ]; then
144- gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -f body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
144+ gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -F body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
145145 else
146- gh api --method POST "repos/$repo/issues/$pr/comments" -f body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
146+ gh api --method POST "repos/$repo/issues/$pr/comments" -F body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
147147 fi
148148 elif [ -n "$comment_id" ]; then
149149 {
@@ -152,5 +152,5 @@ jobs:
152152 echo
153153 echo "A later push resolved the binary incompatibility flagged above."
154154 } > "$RUNNER_TEMP/mima-comment.md"
155- gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -f body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
155+ gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -F body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
156156 fi
Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ jobs:
140140 } > "$RUNNER_TEMP/mima-comment.md"
141141
142142 if [ -n "$comment_id" ]; then
143- gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -f body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
143+ gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -F body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
144144 else
145- gh api --method POST "repos/$repo/issues/$pr/comments" -f body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
145+ gh api --method POST "repos/$repo/issues/$pr/comments" -F body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
146146 fi
147147 elif [ -n "$comment_id" ]; then
148148 {
@@ -151,5 +151,5 @@ jobs:
151151 echo
152152 echo "A later push resolved the binary incompatibility flagged above."
153153 } > "$RUNNER_TEMP/mima-comment.md"
154- gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -f body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
154+ gh api --method PATCH "repos/$repo/issues/comments/$comment_id" -F body=@"$RUNNER_TEMP/mima-comment.md" >/dev/null
155155 fi
You can’t perform that action at this time.
0 commit comments