File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 88# 2025-01-21 kurisaW Initial version
99#
1010
11- # Script Function Description: Assign PR reviews based on the MAINTAINERS list.asdasdasdasdads
11+ # Script Function Description: Assign PR reviews based on the MAINTAINERS list.asdasasddasdasdads
1212
1313name : Auto Review Assistant
1414
@@ -198,3 +198,9 @@ jobs:
198198 -d "$(jq -n --arg body "$(cat review_data.md)" '{body: $body}')" \
199199 "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments")
200200 fi
201+ # 创建新评论
202+ echo "Creating new comment"
203+ response=$(curl -s -X POST \
204+ -H "Authorization: Bearer ${{ secrets.ACTION_TOKEN_AUTO_REVIEW2 }}" \
205+ -d "$(jq -n --arg body "$(cat review_data.md)" '{body: $body}')" \
206+ "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments")
You can’t perform that action at this time.
0 commit comments