File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
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.asdasasddasdasdadsass
11+ # Script Function Description: Assign PR reviews based on the MAINTAINERS list.asdasassass
1212
1313name : Auto Review Assistant
1414
@@ -203,6 +203,11 @@ jobs:
203203 # 创建新评论
204204 echo "Creating new comment"
205205 response=$(curl -s -X POST \
206- -H "Authorization: Bearer ${{ secrets.ACTION_TOKEN_AUTO_REVIEW2 }}" \
206+ -H "Authorization: Bearer ${{ github.token }}" \
207+ -d "$(jq -n --arg body "$(cat review_data.md)" '{body: $body}')" \
208+ "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments")
209+ echo "Creating new comment"
210+ response=$(curl -s -X POST \
211+ -H "Authorization: Bearer ${{ github_token }}" \
207212 -d "$(jq -n --arg body "$(cat review_data.md)" '{body: $body}')" \
208213 "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