Skip to content

fix: authenticate GitHub API calls to avoid rate limiting#112

Merged
sebrandon1 merged 1 commit into
mainfrom
fix/github-api-auth
Jul 17, 2026
Merged

fix: authenticate GitHub API calls to avoid rate limiting#112
sebrandon1 merged 1 commit into
mainfrom
fix/github-api-auth

Conversation

@sebrandon1

Copy link
Copy Markdown
Contributor

Summary

  • Pass GITHUB_TOKEN as Bearer header in fetch-ocp-crc-version.sh to raise the GitHub API rate limit from 60 to 5,000 requests/hour
  • Add GITHUB_TOKEN env var to the set-crc-version step in action.yml using github.token
  • Graceful fallback: logs a warning if token is unavailable and continues unauthenticated

Closes #74

Pass GITHUB_TOKEN as Bearer header in fetch-ocp-crc-version.sh to raise
the rate limit from 60 to 5000 requests/hour. Nightly matrix runs across
multiple OCP versions can exhaust the unauthenticated limit.

Closes #74
@sebrandon1
sebrandon1 merged commit 8f68dbf into main Jul 17, 2026
17 checks passed
@sebrandon1
sebrandon1 deleted the fix/github-api-auth branch July 17, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unauthenticated GitHub API calls hit rate limit

1 participant