Skip to content

Debug with action-tmate #1

Debug with action-tmate

Debug with action-tmate #1

---
name: Debug with action-tmate
on:
workflow_dispatch:
inputs:
runs-on:
required: false
default: windows-latest
pr_number:
required: false
ref:
required: false
permissions: {}
jobs:
action-tmate:
runs-on: ${{inputs.runs-on}}
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
ref: ${{inputs.ref}}
- run: gh pr checkout "${{inputs.pr_number}}"
if: inputs.pr_number != ''
env:
GITHUB_TOKEN: ${{github.token}}
- uses: aquaproj/aqua-installer@6ce1f8848ec8e61f14d57bd5d7597057a6dd187c # v3.0.1
with:
aqua_version: v2.28.0
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
# The default vim doesn't work well, so we install the latest vim ourselves.
- uses: rhysd/action-setup-vim@4b2071ab35df2f10bfbed2a1fdb33be3466455d8 # v1.3.2
- uses: mxschmitt/action-tmate@1005f9c9db5f1b055a495e72c6e589764984baf6 # v3.14
with:
limit-access-to-actor: true # SSH Key is required
env:
GITHUB_TOKEN: ${{github.token}} # Pass GitHub Token to shell session