Incoming http/s request to Actions from outside world? #26077
-
Within GitHub Actions can service containers (or anything else in a workflow) receive network requests from the outside world? Specifically I’m using Appium (client/server architecture) for mobile testing. Ideally within GitHub Actions I’d spin up a service container with a mock server and then start my mobile tests, sending commands to a third party responsible for executing on a device. Since this device is running on a different network than GitHub Action’s workflow, is there any way to make requests from the third party into my workflow’s service container? If not using service containers is there any other way to achieve this within Actions? Per documentation I believe incoming network requests are only possible if everything is local to GitHub Actions but I’d like to confirm. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @sgoff0, Glad to see you in Github Community Forum! What come to my mind is exposing the runner to public with ngrok. I’m not familar with Appium, i only tried to post webhook payload to internal server(ngrok configured) before. Could you please follow the setupdoc and use the url (eg: http://***.ngrok.io) to receive the request for a try? Thanks |
Beta Was this translation helpful? Give feedback.
Hi @sgoff0,
Glad to see you in Github Community Forum!
What come to my mind is exposing the runner to public with ngrok.
I’m not familar with Appium, i only tried to post webhook payload to internal server(ngrok configured) before.
Could you please follow the setupdoc and use the url (eg: http://***.ngrok.io) to receive the request for a try?
Thanks