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
Fix runner deregistration by properly substituting homedir path
The termination check script was failing to deregister runners because
$homedir was inside a single-quoted heredoc ('EOFT'), preventing
variable substitution. This caused the script to look for /runner-*
instead of /home/ubuntu/runner-*.
Fixed by:
- Changing heredoc delimiter from 'EOFT' to EOFT (allows substitution)
- Escaping shell variables with \ to preserve them for runtime
- Ensuring $homedir is substituted at template generation time
This ensures runners are properly deregistered before instance termination,
preventing orphaned runners in GitHub.
0 commit comments