File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
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.asdasasassass
11+ # Script Function Description: Assign PR reviews based on the MAINTAINERS list.asdasasassaasss
1212
1313name : Auto Review Assistant
1414
@@ -176,8 +176,6 @@ jobs:
176176
177177 - name : Post/Update comment
178178 id : post_comment
179- env :
180- github_token : ${{ secrets.ACTION_TOKEN_AUTO_REVIEW2 }}
181179 run : |
182180 # 查找现有的 bot 评论
183181 existing_comment=$(curl -s \
@@ -201,12 +199,6 @@ jobs:
201199 -d "$(jq -n --arg body "$(cat review_data.md)" '{body: $body}')" \
202200 "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments")
203201 fi
204- # 创建新评论
205- echo "Creating new comment"
206- response=$(curl -s -X POST \
207- -H "Authorization: Bearer ${{ github_token }}" \
208- -d "$(jq -n --arg body "$(cat review_data.md)" '{body: $body}')" \
209- "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments")
210202 - name : Comment on PR
211203 uses : unsplash/comment-on-pr@master
212204 with :
You can’t perform that action at this time.
0 commit comments