Log into Github CI server using SSH
Have you ever needed to log into your Github CI run? Is it a flaky test that's hard to reproduce, and the logging output could be more helpful?
You can log into the CI run while it's going. Try out the Github action Debugging with SSH. Utilizing upterm and Tmux, allows for a session that can be logged into.
Add a step like this to your workflow:
A cool feature is that it lets you lock down who can log in via SSH keys. Add a limit-access-to-*
declaration like so:
Then, you can log in via your workflow's 'checks' panel.
h/t JackC
Tweet