Skip to content

Commit ef5289c

Browse files
authored
Update auto-assign-reviewers.yml
1 parent 2296fab commit ef5289c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
# 通过 GitHub API 获取 PR 的变更文件列表
3737
changed_files=$(curl -s \
38-
-H "Authorization: Bearer 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" \
38+
-H "Authorization: Bearer ${{ secrets.ACTION_TOKEN_AUTO_REVIEW }}" \
3939
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
4040
jq -r '.[].filename') # 使用 jq 提取文件名
4141

0 commit comments

Comments
 (0)