R
Railway12mo ago
Mirand

check_suites

Why i’m not able to enable check_suites on my project in order to connect to Github Actions?
26 Replies
Percy
Percy12mo ago
Project ID: N/A
Mirand
Mirand12mo ago
N/A
Brody
Brody12mo ago
please explain why you aren't able to?
Mirand
Mirand12mo ago
Is not showing the button to enable it. I can see on the documentation that should enable, but i dont understand why on my project is not showing.
Brody
Brody12mo ago
a picture is worth a 1000 words
Mirand
Mirand12mo ago
Yeah sure
Mirand
Mirand12mo ago
As you can see, is saying if enabled, but however the button is not present. Hopefully you got my point.
No description
Brody
Brody12mo ago
do you have workflow on github?
Mirand
Mirand12mo ago
Yes i have.
Brody
Brody12mo ago
show that please
Mirand
Mirand12mo ago
Check this out if is clear for you
No description
Brody
Brody12mo ago
was this added after you created your project on railway?
Mirand
Mirand12mo ago
Yes this is created after the project is created. So what i wanted, is for the next changes from github, i wanted to make sure that before deploying to railway, first to check if successfully is working with github actions Basiclly on railway project was created than i have added this workflow..
Brody
Brody12mo ago
tbh I'm not entirely sure how to have railway check for the workflows again @Melissa room for dx improvement, rechecking for availability of workflows, plus what would be a current work around?
Mirand
Mirand12mo ago
What do you think that problem could be that the project is created and running and after that I have tried to run the work flow ?
Brody
Brody12mo ago
the problem if I understand correctly is that railway hasn't rechecked your repo for available workflows
Melissa
Melissa12mo ago
i believe the problem is your workflow being based on a PR being closed. if you set your workflow to run when a merge to the trigger branch occurs, you should see the option to enable check suites. i.e. - on: push: branches: - frontend-staging
Mirand
Mirand12mo ago
Hmm. I think i got your point, but however im trying to trigger workflow when is being merged to frontent-staging from another branch that developer are working. So basiclly, this is not the branch that push are done.
Melissa
Melissa12mo ago
if i'm following you correctly, that should be fine.. you want for the workflow to run when code is pushed from a branch into frontend-staging, right? or something else?
Mirand
Mirand12mo ago
I want workflow to be triggered when code is merged from one branch to frontend-staging
Melissa
Melissa12mo ago
cool! so this should work: on: push: branches: - frontend-staging this says "when changes are pushed into the frontend-staging branch, run the jobs in this workflow"
Mirand
Mirand12mo ago
Ah okay. I will try it and i will let you know the feedback. Just one more question, on my project i have frontend and backend as separate, so on dashboard im generating token, but on the service inside workflow, i should specify the name i.e frontend or backend, correct?
Mirand
Mirand12mo ago
So if i want to deploy on same project to NestJs, i should specify service name on the workflow correct?
No description
Melissa
Melissa12mo ago
you mean this part? railway up --service NestJs Generic TQUEEN yes, you should specify which service when using the railway up command
Mirand
Mirand12mo ago
Yes exactly that part.
Brody and Melissa, thank you very much for quick response and very helpful tips. I appreciate that ;).
Mirand
Mirand12mo ago
Hello team, just a quick question regarding this issue. As you can see from documentation, there should be a button to enable the check suites, and basiclly it will tell to Railway to wait for Github Actions. On my dashboard, as you can see from another photo, that is not showing that enable button. Any clue on that?
No description
No description
Want results from more Discord servers?
Add your server