Quote fix.
This commit is contained in:
+1
-3
@@ -101,12 +101,10 @@ runs:
|
||||
-o simple \
|
||||
| egrep "${{ steps.check-opened-pr-step.outputs.pr_number }}" | awk '{print $2}')
|
||||
|
||||
pr_comments_url=$(echo "${{ gitea.api_url }}/repos/${{ gitea.repository }}/issues/${{ steps.check-opened-pr-step.outputs.pr_number }}/comments)
|
||||
pr_comments_url=$(echo "${{ gitea.api_url }}/repos/${{ gitea.repository }}/issues/${{ steps.check-opened-pr-step.outputs.pr_number }}/comments")
|
||||
|
||||
pr_comment_id=$(curl -sS -X GET ${pr_comments_url} | jq -r '[.[] | select(.user.login == "gitea-sonarqube-bot")] | sort_by(.created_at) | last | .id')
|
||||
|
||||
pr_comment_url=$(curl -sS -X GET ${})
|
||||
|
||||
echo "pr_url=$created_pr_url" >> $GITHUB_OUTPUT
|
||||
echo "pr_comments_url=$pr_comments_url" >> $GITHUB_OUTPUT
|
||||
echo "pr_comment_id=$pr_comment_id" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user