cake-build / cake-build/cake-action

rate limiting when running on github hosted runners

Open
#63 1 comment 0 reactions 1 assignee Claimed by @ecampidoglio View on GitHub
enhancement
Dominant language
TypeScript
Stars
51
Forks
12
PR merge metrics
No merged PRs in 30d

Description

When specifying latest for cake-version the workflow does fail for us sometimes with error message

`API rate limit exceeded for 52.159.229.0. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)`

I looked into the action code and from my understanding here we are doing an unauthenticated request to github api.
https://github.com/cake-build/cake-action/blob/master/src/cakeRelease.ts
Can we add an option to specify an access token or use the token from environment? (or maybe best both)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.