How to trigger the Github Actions after the PR environment deployed

2 years ago

Hi, currently we want to trigger the Playwright E2E test against the PR environment URL, mean we have to wait for the PR environment deployment finished, then trigger that test on Github Actions. I tried to use the Webhook but face another issue, our Github repo is private and the workflow_dispatch requires the header, which Railway webhook does not support at this moment.

Is there any way to archive this?

8 Replies

2 years ago

28677a80-2aaf-46d7-8fff-e2898fa09eb1


2 years ago

how could you programmatically start the github action?


2 years ago

I have the status check setup in Github, and it allows me to select status from Railway app, I guess we have this if we link github with Railway.

So now this is actually my question, how would I start my github action after the dashboard is finished?

1221004298977153000


2 years ago

to answer that, I'd need my question answered first 🤣


2 years ago

forgive me if I misunderstood your question, but I can't trigger my github action, because I don't know how to get the dashboard PR environment status


2 years ago

let's forget about railway for a moment, how could you programmatically start the github action, or any action for that matter


2 years ago

we need to take a higher level approach with this, it goes without saying but railway does not nativity offer this functionality, something is going to have the be built custom


2 years ago

thank you for your helps, but that is my answer, Railway does not nativity offer this functionality, and I'm quite disappointed


Loading...