What i want to know is if I can with a command in a workflow check the status of hosted queue, and if i have a queue in my hosted actions, my runner will go through self hosted action. So what I'm trying to say is, my workflow checks if i have something queued in my hosted actions and if is there a queue, it will start to run jobs through my self hosted actions
something like this:
runs-on: [self-hosted linux]
Solved! Solved! Go to Solution.
Currently, there is no way to check hosted queue status. And we could not use if condition for runs-on keyword.
Hosted runner and self-hosted runner could not be the backup for each other.
You can execute up to 20 workflows concurrently per repository when using GitHub-hosted runners. This document shows detail usage limits: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-github-actions...