How to trigger the Github Actions after the PR environment deployed

a year 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?

0 Replies

a year ago

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


a year ago

how could you programmatically start the github action?


a year 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


a year ago

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


a year 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


a year ago

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


a year 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


a year ago

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


How to trigger the Github Actions after the PR environment deployed - Railway Help Station