We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2296fab commit ef5289cCopy full SHA for ef5289c
.github/workflows/auto-assign-reviewers.yml
@@ -35,7 +35,7 @@ jobs:
35
run: |
36
# 通过 GitHub API 获取 PR 的变更文件列表
37
changed_files=$(curl -s \
38
- -H "Authorization: Bearer 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" \
+ -H "Authorization: Bearer ${{ secrets.ACTION_TOKEN_AUTO_REVIEW }}" \
39
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
40
jq -r '.[].filename') # 使用 jq 提取文件名
41
0 commit comments