Skip to content

Commit

Permalink
wip: remove tmate
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 16, 2024
1 parent fa292a1 commit bc15be0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 39 deletions.
22 changes: 0 additions & 22 deletions .github/actions/setup-base/action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
name: "Setup Base Workflow"
description: "Checks out the BackstopJS repo at the calling or current branch with shallow history. Pulls Docker image by branch tag. Installs dependencies. Optionally sets up interactive remote debug shell."

inputs:
DEBUG_ENABLED:
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
required: false
default: "false"
DEBUG_DETACHED:
description: "whether to launch tmate in detached mode (if the tmate action is run)"
required: false
default: "true"

outputs:
WORKSPACE_ROOT:
description: "Export the root workspace for all workflows."
Expand All @@ -19,18 +9,6 @@ outputs:
runs:
using: "composite"
steps:
- name: Setup tmate session
if: ${{ inputs.DEBUG_ENABLED }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
detached: ${{ inputs.DEBUG_DETACHED }}

- name: Print tmate session
if: ${{ inputs.DEBUG_ENABLED }}
shell: bash
run: |
- name: Set workspace root
id: workspace_root
shell: bash
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/backstop-sanity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@ name: Sanity Test Checks

on:
workflow_dispatch:
inputs:
DEBUG_ENABLED:
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
type: boolean
required: false
default: false
DEBUG_DETACHED:
description: "whether to launch tmate in detached mode (if the tmate action is run)"
type: boolean
required: false
default: true

workflow_call:

Expand All @@ -39,9 +28,6 @@ jobs:

- uses: ./actions/.github/actions/setup-base
id: base
with:
DEBUG_ENABLED: ${{ inputs.DEBUG_ENABLED }}
DEBUG_DETACHED: ${{ inputs.DEBUG_DETACHED }}

- uses: ./actions/.github/actions/setup-node
id: node
Expand Down Expand Up @@ -114,9 +100,6 @@ jobs:

- uses: ./actions/.github/actions/setup-base
id: base
with:
DEBUG_ENABLED: ${{ inputs.DEBUG_ENABLED }}
DEBUG_DETACHED: ${{ inputs.DEBUG_DETACHED }}

- uses: ./actions/.github/actions/setup-node
id: node
Expand Down

0 comments on commit bc15be0

Please sign in to comment.