All Projects → P3TERX → ssh2actions

P3TERX / ssh2actions

Licence: MIT license
Connect to GitHub Actions VM via SSH for interactive debugging

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ssh2actions

changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+1082.26%)
Mutual labels:  actions, workflows, github-actions, github-action
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+162.9%)
Mutual labels:  actions, workflows, github-actions, github-action
recent-activity
Add your recent activity to your profile readme!
Stars: ✭ 87 (+40.32%)
Mutual labels:  actions, workflows, github-actions, github-action
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (-48.39%)
Mutual labels:  actions, action, github-actions, github-action
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+125.81%)
Mutual labels:  actions, action, github-actions, github-action
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-37.1%)
Mutual labels:  actions, action, github-actions, github-action
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-59.68%)
Mutual labels:  actions, action, github-actions, github-action
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (-40.32%)
Mutual labels:  actions, action, github-actions, github-action
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-80.65%)
Mutual labels:  actions, action, github-actions
setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (-59.68%)
Mutual labels:  action, github-actions, github-action
jest-github-action
Jest action adding checks with annotations to your pull requests and coverage table as comments
Stars: ✭ 134 (+116.13%)
Mutual labels:  actions, action, github-actions
action-github-workflow-sync
Github Action To Sync Github Action's Workflow Files Across Repositories
Stars: ✭ 51 (-17.74%)
Mutual labels:  workflows, github-actions, github-action
dart-package-publisher
Action to Publish Dart / Flutter Package To https://pub.dev When you need to publish a package, just bump the version in pubspec.yaml
Stars: ✭ 45 (-27.42%)
Mutual labels:  actions, action, github-actions
clang-format-action
GitHub Action for clang-format checking
Stars: ✭ 48 (-22.58%)
Mutual labels:  actions, github-actions, github-action
action-homebrew-bump-formula
⚙️ A GitHub Action to easily bump Homebrew formula on new release
Stars: ✭ 68 (+9.68%)
Mutual labels:  actions, action, github-actions
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+8.06%)
Mutual labels:  actions, action, github-actions
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+38.71%)
Mutual labels:  actions, action, github-actions
branch-names
Github action to retrieve branch or tag names with support for all events.
Stars: ✭ 99 (+59.68%)
Mutual labels:  actions, workflows, github-actions
gha
🔧 Test your GitHub Actions workflow locally.
Stars: ✭ 53 (-14.52%)
Mutual labels:  debugging, actions, github-actions
action-dynamic-readme
~ Dynamic ReadME Generator ~
Stars: ✭ 29 (-53.23%)
Mutual labels:  actions, action, github-action

SSH to GitHub Actions

This GitHub Action offers you connect to GitHub Actions VM via SSH for interactive debugging

Features

  • Support Ubuntu and macOS
  • Provides two optional SSH connection methods, tmate and ngrok
  • Proceed to the next step to stay connected
  • Send SSH connection info to Telegram

Usage

Connect to Github Actions VM via SSH by using tmate

- name: Start SSH via tmate
  uses: P3TERX/ssh2actions@main
  # Send connection info to Telegram (optional)
  # You can find related documents here: https://core.telegram.org/bots
  env:
    TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
    TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}

Connect to Github Actions VM via SSH by using ngrok

- name: Start SSH via ngrok
  uses: P3TERX/ssh2actions@main
  with:
    mode: ngrok
  env:
    # After sign up on the https://ngrok.com
    # You can find this token here: https://dashboard.ngrok.com/auth/your-authtoken
    NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
    
    # ngrok server region [us, eu, au, ap, sa, jp, in] (optional, default: us)
    # You can find this server region here: https://ngrok.com/docs#global-locations
    NGROK_REGION: us

    # This password you will use when authorizing via SSH
    SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }}

    # Send connection info to Telegram (optional)
    # You can find related documents here: https://core.telegram.org/bots
    TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
    TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}

Lisence

MIT © P3TERX

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].