I would like to know if it’s possible to have a self-hosted runner for a private repo that falls back to a normal github runner whenever the self-hosted runner is offline.
In my particular case, since I’m maintaining a private repo for a project where me and other collaborators write documents using LaTeX, I need to use a github action that uses a Latex Docker Image, which takes about 4-5 minutes to complete, and about 3 minutes just for setting up the actions everytime.
Testing a self-hosted runner capable of caching the actions, it takes less than 2 minutes to complete everything (setup, compile, etc.). Obviously, the problem occurs when (for any reasons) the self-hosted runner goes offline, and the pull_request checks are queued, causing the workflow to hold on for too much time.
So, is there a way to configure the YAML file in order to mainly use the self-hosted runner, and, in case, the github runner as backup?