github self hosted runners unattended installation

Hello Experts, 

 Do we have possiblity for unattended installation of self hosted runner ?

 Is there a way to check action minutes and switch to self hosted based on condition in action template? 

Thanks in advance.

Regards,
Paul

do we have any answers for my second question ? 

Hi @paulpuvi06 ,

For your second question, I am afraid that the answer is no. 

You could check the runner minutes quota in Billing page: https://help.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-actions-usage

But you need to manually change the runs-on key value in your workflow yml file to switch hosted runner to self hosted runner.   

1 Like

Hi @yanjingzhu  , 

Thank you. is there a plan to add this feature in github action flow or to introduce REST api to check the status and switch to self hosted agnet after 50000 minutes. 

Regards,
Paul

Currently, this is not a plan for your requirement. I would encourage you sharing your idea in the Feedback form for GitHub Actions. Thank you for helping us build a better GitHub Actions.

1 Like