Short-living VMs abusing Github Actions for testing all kinds of things. 👀
- Fork this repository
- Set the fork to private for security reasons1
- Navigate to the "Actions" tab and enable Github Actions for your fork
- Select one of the workflows and press the "Run workflow" button
- Wait until the workflow logs a message similar to
Web shell: https://tmate.io/t/xyz
, then open that link - You might have to press Control+C once to use the web terminal
- You can now use the web terminal to test any kinds of things on the Github Actions machine
Note: every workflow automatically stops after 15 minutes to prevent stale or forgotten workflows from wasting minutes.
You can change this by editing the timeout-minutes
field in the workflow file.
This repository is mostly just a wrapper around https://github.com/mxschmitt/action-tmate.
Footnotes
-
Note that private repositories do not have unlimited workflow minutes and thus using the scripts here frequently may cost you money. ↩