Skip to content

rate limiting when running on github hosted runners #63

Description

@nyko99

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)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions