diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index b52d5ec8..7882a035 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -34,7 +34,7 @@ jobs: -d '{"state": "closed", "state_reason": "completed"}' elif [[ "${{ github.event.label.name }}" == "❌ 重复" ]]; then curl -X PATCH \ - -H "Authorization: token ${{ secrets.SHEEP }}" \ + -H "Authorization: token ${{ secrets.BOT }}" \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }} \ -d '{"state": "closed", "state_reason": "duplicate"}'