actions / actions/starter-workflows
pl
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.1k
- Forks
- 7.3k
- PR merge metrics
- No merged PRs in 30d
Description
name: Jor3a-Ti9niya-RDP
on:
workflow_dispatch:
jobs:
setup-rdp-tunnel:
runs-on: windows-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Download and Install Playit
run: |
Invoke-WebRequest -Uri "https://github.com/playit-cloud/playit-agent/releases/download/v0.15.26/playit-windows-x86_64-signed.exe" -OutFile "$env:USERPROFILE\playit.exe"
Start-Sleep -Seconds 5 # Give some time for the download to complete
# Default, optional.
- name: Enable TS
run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0
- run: Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
- run: Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1
- run: Set-LocalUser -Name "runneradmin" -Password (ConvertTo-SecureString -AsPlainText "admin@123" -Force)
- name: www.toolboxlap.com
env:
PLAYIT_AUTH_KEY: ${{ secrets.PL }}
run: |
Start-Process -FilePath "$env:USERPROFILE\playit.exe" -ArgumentList "--secret $env:PLAYIT_AUTH_KEY" -NoNewWindow -Wait
Start-Process -FilePath "$env:USERPROFILE\playit.exe" -NoNewWindow
# www.toolboxlap.com
# Prevent workflow to stop
- name: Keep the GitHub Action Runner Alive
run: |
Start-Sleep -Seconds 21600 # Adjust the duration based on your needs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the pasted GitHub Actions workflow and its PowerShell steps first, focusing on the RDP configuration, Playit download, secret use, and six-hour runner lifetime. The issue does not name a workflow file, test, or requested change, so completion would require determining the appropriate repository response to this workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, powershell
- Domain
- devops, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100