Skip to content

Instantly share code, notes, and snippets.

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

Rat devhaozi

😅
你干嘛,哎呦!
View GitHub Profile
@devhaozi
devhaozi / issues_baipiao_checker.py
Created October 15, 2024 16:39 — 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',
}