Skip to content

Instantly share code, notes, and snippets.

View devhaozi's full-sized avatar
😅
你干嘛,哎呦!

耗子 devhaozi

😅
你干嘛,哎呦!
View GitHub Profile
@devhaozi
devhaozi / issues_baipiao_checker.py
Last active November 18, 2023 14:49 — forked from wozulong/issues_baipiao_checker.py
检查issues里的白嫖者,自动关闭+加标签+锁定
import requests
issue_labels = ['no respect']
github_repo = '<owner>/<repo>'
github_token = '<github token>'
headers = {
'Authorization': 'Bearer ' + github_token,
'Accept': 'application/vnd.github+json',
'X-GitHub-Api-Version': '2022-11-28',
}