mxschmitt/action-tmate

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 28 minutes ago
Added to GitGenius on September 19th, 2026
Created on August 23rd, 2019
Open Issues & Pull Requests: 36 (+0)
GitHub issues: Enabled
Number of forks: 336
Total Stargazers: 3,580 (+0)
Total Subscribers: 11 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.4 days
Mean response time: 162.9 days
90th percentile: 781.8 days
Tracked items: 19

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 18
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 656 days
Stale 30+ days: 17
Stale 90+ days: 16

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

action-tmate is a GitHub Action that enables interactive SSH debugging of GitHub Actions workflows by spawning a tmate session on the runner.

The tool solves the problem of opaque workflow failures by giving developers direct shell access to the runner system where their actions execute. When added to a workflow, it creates a tmate session and displays connection details in the GitHub Checks tab, allowing developers to SSH into or access a web-based terminal on the runner. This lets them inspect the environment, run commands interactively, and understand why steps are failing before continuing the workflow.

The action supports Linux, macOS, and Windows runners. Developers should choose this tool when they need to debug workflow failures that are difficult to diagnose from logs alone. It works well for both always-on debugging during development and conditional debugging triggered manually via workflow_dispatch, avoiding the need to commit and push debug steps repeatedly. The detached mode is particularly useful for non-blocking debugging: it starts the tmate session, prints connection details, and continues with subsequent workflow steps rather than pausing execution. In detached mode, the action exposes outputs like ssh-command and web-url that can be used in downstream steps or jobs. The tool also handles edge cases like runners without sudo and allows custom timeout configuration to control GitHub Actions usage.

The project shows consistent maintenance with regular updates addressing user-reported issues and feature requests. Pull requests receive timely review and merge decisions. The codebase demonstrates attention to cross-platform compatibility, with explicit handling for Linux, macOS, and Windows environments. Documentation is actively maintained to reflect available features and usage patterns, including examples for common workflows like manual triggering and detached mode operation.