Skip to content

Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.

License

Notifications You must be signed in to change notification settings

zetakv/action-tmate

 
 

Repository files navigation

Debug your GitHub Actions by using tmate

This GitHub Action offers you a direct way to interact with the host system on which the actual scripts (Actions) will run.

Supported Operating Systems

  • Linux
  • macOS

Getting Started

By using this minimal example a tmate session will be created.

name: CI
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Setup tmate session
      uses: mxschmitt/action-tmate@v1

To get the connection string, just open the Checks tab in your Pull Request and scroll to the bottom. There you can connect either directly per SSH or via a web based terminal.

alt text

About

Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 89.2%
  • JavaScript 10.8%