Comments (3)
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.
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.
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)
- Using yaml as client-payload HOT 1
- Unexpected token ' in JSON at position 0 | Multiline client_payload HOT 5
- fine-grained personal access tokens HOT 2
- Workflows not triggering when there are multiple repositories HOT 2
- Hot To Get Json From Sender to Receiver HOT 2
- Error: Resource not accessible by integration HOT 3
- Getting error (Invalid request)
- Error when using fine-grained PAT HOT 10
- Deprecated warning when using latest version HOT 1
- how can i trigger a workflow in repo1 whenever there is commit in my other repo2 and repo3
- payload output HOT 1
- Deprecation: [@octokit/request-error] `error.code` is deprecated, use `error.status`. HOT 2
- SyntaxError: Unexpected token HOT 1
- Question: Wait and Get Workflow Output HOT 8
- Resource not accessible by integration when using GitHub App HOT 4
- Using latest 2.1.2 - workflow triggers twice. HOT 6
- Multiple event-type values in the receiving job? HOT 2
- Payload parameter HOT 1
- Usage in GitHub organizations HOT 2
- Everything good
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repository-dispatch.