Skip to content

Commit

Permalink
Update auto-close-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
poriz authored Jan 31, 2024
1 parent 14bc185 commit 9064b34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/auto-close-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ jobs:
GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
# API를 사용하여 이슈를 닫음
curl -X PATCH
curl -L -X PATCH \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
"https://api.github.com/repos/zizzic/main_repo/issues/$ISSUE_NUMBER" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/$OWNER/$REPO/issues/$ISSUE_NUMBER" \
-d '{"state":"closed"}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 9064b34

Please sign in to comment.