File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 2222jobs :
2323 assign-reviewers :
2424 runs-on : ubuntu-22.04
25+ if : github.repository_owner == 'RT-Thread'
2526 permissions :
2627 issues : write
2728 pull-requests : write
2829 contents : read
29- env :
30- SUPER_SECRET : ${{ secrets.ACTION_TOKEN_AUTO_REVIEW }}
3130 steps :
3231 - name : Checkout code
3332 uses : actions/checkout@v3
34-
33+
3534 - name : Get changed files
3635 id : changed_files
3736 run : |
4039 -H "Authorization: Bearer ${{ github.token }}" \
4140 "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
4241 jq -r '.[].filename') # 使用 jq 提取文件名
43-
4442 echo "$changed_files" | grep -v '^MAINTAINERS$' > changed_files.txt
45-
4643 - name : Parse MAINTAINERS file
4744 id : parse_maintainer
4845 run : |
@@ -163,7 +160,6 @@ jobs:
163160 echo "> ℹ️ **刷新CI状态操作需要具备仓库写入权限。**"
164161 echo "> ℹ️ **Refresh CI status operation requires repository Write permission.**"
165162 } > review_data.md
166-
167163 - name : Post/Update comment
168164 id : post_comment
169165 run : |
You can’t perform that action at this time.
0 commit comments