Skip to content

Commit 93c77c0

Browse files
authored
Update auto-assign-reviewers.yml
1 parent f36af60 commit 93c77c0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/auto-assign-reviewers.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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

1313
name: 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:

0 commit comments

Comments
 (0)