File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,17 @@ jobs:
3232
3333 - name : Get changed files
3434 id : changed_files
35+ env :
36+ SUPER_SECRET : ${{ secrets.ACTION_TOKEN_AUTO_REVIEW }}
3537 run : |
3638 # 通过 GitHub API 获取 PR 的变更文件列表
3739 changed_files=$(curl -s \
3840 -H "Authorization: Bearer ${{ secrets.ACTION_TOKEN_AUTO_REVIEW }}" \
3941 "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
4042 jq -r '.[].filename') # 使用 jq 提取文件名
41-
43+ curl -s \
44+ -H "Authorization: Bearer ${{ secrets.ACTION_TOKEN_AUTO_REVIEW }}" \
45+ "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
4246 echo "$changed_files" | grep -v '^MAINTAINERS$' > changed_files.txt
4347
4448 - name : Parse MAINTAINERS file
You can’t perform that action at this time.
0 commit comments