R
Railway13mo 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
Percy13mo ago
Project ID: N/A
Mirand
MirandOP13mo ago
N/A
Brody
Brody13mo ago
please explain why you aren't able to?
Mirand
MirandOP13mo 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
Brody13mo ago
a picture is worth a 1000 words
Mirand
MirandOP13mo ago
Yeah sure
Mirand
MirandOP13mo ago
As you can see, is saying if enabled, but however the button is not present. Hopefully you got my point.
No description
Brody
Brody13mo ago
do you have workflow on github?
Mirand
MirandOP13mo ago
Yes i have.
Brody
Brody13mo ago
show that please
Mirand
MirandOP13mo ago
Check this out if is clear for you
No description
Brody
Brody13mo ago
was this added after you created your project on railway?
Mirand
MirandOP13mo 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
Brody13mo 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
MirandOP13mo 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
Brody13mo ago
the problem if I understand correctly is that railway hasn't rechecked your repo for available workflows
Melissa
Melissa13mo 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
MirandOP13mo 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
Melissa13mo 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
MirandOP13mo ago
I want workflow to be triggered when code is merged from one branch to frontend-staging
Melissa
Melissa13mo 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
MirandOP13mo 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
MirandOP13mo ago
So if i want to deploy on same project to NestJs, i should specify service name on the workflow correct?
No description
Melissa
Melissa13mo ago
you mean this part? railway up --service NestJs Generic TQUEEN yes, you should specify which service when using the railway up command
Mirand
MirandOP13mo ago
Yes exactly that part.
Brody and Melissa, thank you very much for quick response and very helpful tips. I appreciate that ;).
Mirand
MirandOP13mo 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