Skip to content

Commit

Permalink
Update issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Deep-Dark-Forest authored Jan 28, 2025
1 parent b6a2a1c commit e524276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}'
Expand Down

0 comments on commit e524276

Please sign in to comment.