Skip to content

add a option for gh release create to resovle secondary rate limit #9586

@leleliu008

Description

@leleliu008

Describe the feature or problem you’d like to solve

I have a GitHub Actions https://github.com/fpliu1214/uppm-package-repository-android-31-aarch64/actions/runs/10763510085/job/29870722353#step:5:838

It releases a large number of tarball files, It report me:

HTTP 403: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID E941:23D214:C4C22B:DC7B0C:66DEDF90. (https://uploads.github.com/repos/fpliu1214/uppm-package-repository-android-31-aarch64/releases/174109892/assets?label=&name=libcares-1.31.0-android-31-arm64-v8a.tar.xz)

I read the docs from https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#pause-between-mutative-requests

The document say:

[Pause between mutative requests](https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#pause-between-mutative-requests)
If you are making a large number of POST, PATCH, PUT, or DELETE requests, wait at least one second between each request. This will help you avoid secondary rate limits.

But I didn't find a option to archive this. https://cli.github.com/manual/gh_release_create

Could you add a option to archive this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-releaserelating to the gh release command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions