This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
forked from mxschmitt/action-tmate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
61 lines (61 loc) · 2.2 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: 'Debugging with tmate'
description: 'Debug your GitHub Actions Environment interactively by using SSH or a Web shell'
branding:
icon: terminal
author: 'Max Schmitt'
runs:
using: 'node16'
main: 'lib/main.js'
post: 'lib/post.js'
inputs:
sudo:
description: 'If apt should be executed with sudo or without'
required: false
default: 'auto'
install-dependencies:
description: 'Whether or not to install dependencies for tmate on linux (openssh-client, xz-utils)'
required: false
default: 'true'
limit-access-to-actor:
description: 'If only the public SSH keys of the user triggering the workflow should be authorized'
required: false
default: 'false'
tmate-server-host:
description: 'The hostname for your tmate server (e.g. ssh.example.org)'
required: false
default: ''
tmate-server-port:
description: 'The port for your tmate server (e.g. 2222)'
required: false
default: ''
tmate-server-rsa-fingerprint:
description: 'The RSA fingerprint for your tmate server'
required: false
default: ''
tmate-server-ed25519-fingerprint:
description: 'The ed25519 fingerprint for your tmate server'
required: false
default: ''
check-num-clients:
description: 'Whether or not to exit if number of connected clients is 0'
required: false
default: 'false'
wait:
description: 'Whether or not to wait until debugging session exits'
required: false
default: 'true'
wait-in-post:
description: 'Whether or not to wait until debugging session exits in post'
required: false
default: 'false'
wait-interval:
description: 'The number of milliseconds to sleep between chcecking if the debugging sessions exited'
required: false
default: '5000'
github-token:
description: >
Personal access token (PAT) used to call into GitHub's REST API.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
default: ${{ github.token }}