You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cleanup-self-hosted-runner: avoid deleting VMs that are busy
So far, we avoid deleting VMs when they are too young.
But we can do better than that: since the VMs are intended to host an
ephemeral runner, and that runner is registered with the current
repository, we can have a look whether GitHub says that the runner is
busy. If it is, well, let's leave it a-running!
Since this query requires a larger scope than the standard GitHub
workflows' `GITHUB_TOKEN` provides, we need to authenticate as the
GitForWindowsHelper GitHub App to do that.
Signed-off-by: Johannes Schindelin <[email protected]>
0 commit comments