mirror of
https://github.com/kingmo888/rustdesk-api-server.git
synced 2026-02-21 10:27:23 +08:00
.
This commit is contained in:
parent
38e4269025
commit
67ce71773b
2
.github/workflows/auto-close-issues.yml
vendored
2
.github/workflows/auto-close-issues.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
||||
while [[ -z "$STARRED" ]]; do
|
||||
STARRED_RESPONSE=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||
"https://api.github.com/repos/${{ github.repository }}/stargazers?per_page=100&page=$PAGE")
|
||||
echo "STARRED_RESPONSE=$STARRED_RESPONSE" # 输出 API 返回的数据以检查结构
|
||||
|
||||
if [[ -z "$STARRED_RESPONSE" || "$STARRED_RESPONSE" == "[]" ]]; then
|
||||
break
|
||||
@ -38,6 +39,7 @@ jobs:
|
||||
|
||||
|
||||
|
||||
|
||||
- name: Close issue if not starred
|
||||
if: env.starred == '0'
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user