R
Railway•9mo ago
Sang Dang

How to trigger the Github Actions after the PR environment deployed

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
Percy
Percy•9mo ago
Project ID: 28677a80-2aaf-46d7-8fff-e2898fa09eb1
Sang Dang
Sang DangOP•9mo ago
28677a80-2aaf-46d7-8fff-e2898fa09eb1
Brody
Brody•9mo ago
how could you programmatically start the github action?
Sang Dang
Sang DangOP•9mo 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?
No description
Brody
Brody•9mo ago
to answer that, I'd need my question answered first 🤣
Sang Dang
Sang DangOP•9mo 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
Brody
Brody•9mo ago
let's forget about railway for a moment, how could you programmatically start the github action, or any action for that matter 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
Sang Dang
Sang DangOP•9mo ago
thank you for your helps, but that is my answer, Railway does not nativity offer this functionality, and I'm quite disappointed
Want results from more Discord servers?
Add your server