Skip to content

Commit

Permalink
Add tmate GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Sep 24, 2023
1 parent 29a8c9f commit e7cfdee
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tmate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://github.com/mxschmitt/action-tmate

name: tmate
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
debug:
runs-on: ubuntu-latest
steps:
# Enable tmate debugging of manually-triggered workflows if the input
# option was provided
- name: Setup tmate session

Check failure on line 19 in .github/workflows/tmate.yml

View workflow job for this annotation

GitHub Actions / Linting

19:7 [indentation] wrong indentation: expected 4 but found 6
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
with:
limit-access-to-actor: true

Check failure on line 23 in .github/workflows/tmate.yml

View workflow job for this annotation

GitHub Actions / Linting

23:38 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit e7cfdee

Please sign in to comment.