Skip to content

Interactive debug session for GitHub Actions

License

Notifications You must be signed in to change notification settings

bkye/debugger-action

 
 

Repository files navigation

The project has stopped maintenance
👉 It is recommended to use a new solution in your project: P3TERX/ssh2actions
👉 If you just want to connect to the Actions VM via SSH, move to P3TERX/ActionsVM

Action Debugger

Interactive debugger for GitHub Actions

Usage

steps:
- name: Setup Debug Session
  uses: P3TERX/debugger-action@main

In the log for the action you will see:

To connect to this session copy-n-paste the following into a terminal or browser:

ssh [email protected]

https://tmate.io/t/Y26QeagDtsPXp2mT6me5cnMRd

TIPS: This message is displayed 3 times, every 30 seconds.

Simply follow the instructions and copy the ssh command into your terminal to create an ssh connection the running instance. The session will close immedeatly after closing the ssh connection to the running instance.

There is a global timeout after 30 minutes. This will close any open ssh sessions. To prevent the session from being terminated run:

touch /tmp/keepalive

Acknowledgments

License

The action and associated scripts and documentation in this project are released under the MIT License.

About

Interactive debug session for GitHub Actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.1%
  • JavaScript 24.9%