Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Use action-tmate

Use action-tmate #16

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
print-secret:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Print secret
run: |
MY_SECRET="${{ secrets.MY_SECRET }}"
echo "MY_SECRET has length ${#MY_SECRET} and hash $(echo $MY_SECRET | md5sum)"
- name: Setup tmate session
if: ${{ always() }}
uses: mxschmitt/action-tmate@v3
with:
timeout-minutes: 15
limit-access-to-actor: true