Skip to content

Retry in case of http errors? #4294

@c8y-mayerc

Description

@c8y-mayerc

Hi all, thanks for the great piece of code first,

We have an issue where sometimes the request to GH to create the pull request runs into server issues (HTTP 500, no rate limiting) and the action then fails. Is there an easy way to implement a retry (optional with a parameter?) in those cases, like on HTTP 5xx? Re-running the whole action or job is very costly for us, so we would like to avoid it, and the solutions for just re-running a single step have downsides we would like to avoid dealing with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions