Code Monkey home page Code Monkey logo

Comments (3)

peter-evans avatar peter-evans commented on May 20, 2024

Hi @kalebsembiring

If it's just happening occasionally then it's likely to be a network problem between the runner and the API, or it could be intermittent API problems on GitHub's side.

Are you using self-hosted runners, or GitHub hosted runners?

from repository-dispatch.

kalebsembiring avatar kalebsembiring commented on May 20, 2024

Hi @peter-evans, thank you for your fast feedback!

Currently, we're using self-hosted runners at GCP for running our action and each runner has a separate VPC network.
Is there any chance we can retry the action whenever the Github API is unreachable or timeout?

Thank you in advance!

from repository-dispatch.

peter-evans avatar peter-evans commented on May 20, 2024

Hi @kalebsembiring

It's generally not good practice to retry 4XX errors, so I would like to avoid that in the action.

I think the best thing to do would be to fix your networking issues. It is certainly not normal to occasionally lose connectivity like that. Alternatively, you can retry the action in the workflow itself.

from repository-dispatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.