cloudbase / garm

GitHub Actions Runner Manager
Apache License 2.0
138 stars 26 forks source link

Allow bypassing Unauthorized error when deleting runner #231

Closed gabriel-samfira closed 8 months ago

gabriel-samfira commented 8 months ago

This change allows users to bypass GitHub Unauthorized errors when removing github runners. This means that removing runners will now be possible even if the pool manager is stopped.

There is a new flag added to the runner rm command and to the API that tells GARM to bypass pool being stopped and any 401 error returned by GitHub.

This means you will be able to remove the runners from garm and your provider, but will mean that the runner will still exist in github as "offline" if the credentials are not updated or the runner manually removed.

Fixes #226