Skip to content

Commit

Permalink
Update close_issue.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dqzboy authored Feb 22, 2024
1 parent 200d8a5 commit f9a5994
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/close_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import requests

issue_labels = ['no respect']
github_repo = 'dqzboy/DKube'
github_token = os.getenv("MY_GITHUB_TOKEN")
github_repo = 'dqzboy/ChatGPT-Proxy'
github_token = os.getenv("GITHUB_TOKEN")
headers = {
'Authorization': 'Bearer ' + github_token,
'Accept': 'application/vnd.github+json',
Expand Down Expand Up @@ -100,4 +100,5 @@ def lock_issue(repo, issue_number):
print('issue: {}, login: {} not in stargazers'.format(issue['number'], login))
close_issue(github_repo, issue['number'])
lock_issue(github_repo, issue['number'])

print('done')

0 comments on commit f9a5994

Please sign in to comment.