ec2-github-runner
ec2-github-runner copied to clipboard
chore(logic): Runner should be removed before termination
The EC2 instance should be marked as unschedulable by Github Actions before termination to make sure that Github Actions dosen't schedule any jobs to it while it's being terminated.
definitely the correct way to do it, why it wasn't merged 😢
oh i see the comments, gh.remove() will mark it unschedulable, aha. PRs remain open, should be just closed if the fix is not relevant anymore 🙃