transformers
fix: harden check_bad_commit.py against GitHub API rate limits and error responses
#46321
Merged

fix: harden check_bad_commit.py against GitHub API rate limits and error responses #46321

ydshieh merged 8 commits into main from better_author
ydshieh
ydshieh fix: pass GitHub token to API calls in check_bad_commit.py to avoid r…
79c38094
ydshieh fix: use consistent GitHub API header format (Bearer + Accept)
913aea19
ydshieh ci: pass GITHUB_TOKEN to check_bad_commit.py in workflow
c0c08d7a
HuggingFaceDocBuilderDev
ydshieh style
7c8c1c6b
ydshieh ydshieh requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 3 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-06-01
ydshieh
ydshieh more secure
6cad1eea
ydshieh ydshieh requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 3 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-06-01
ydshieh fix: guard commit_info parents access against error API responses
9770f244
ydshieh ydshieh requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 3 days ago
ydshieh ydshieh changed the title fix: pass GitHub token to check_bad_commit.py to avoid API rate limits fix: authenticate GitHub API calls and handle error responses in check_bad_commit.py 3 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-06-01
ydshieh fix: consistent early-return schema and pass GitHub token via env var
a593e44d
ydshieh ydshieh changed the title fix: authenticate GitHub API calls and handle error responses in check_bad_commit.py fix: harden check_bad_commit.py against GitHub API rate limits and error responses 3 days ago
ydshieh ydshieh requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 3 days ago
ydshieh style
eb103dbd
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-06-01
ydshieh ydshieh merged 7d6a50be into main 3 days ago
ydshieh ydshieh deleted the better_author branch 3 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone