Skip to content

Commit f6ca00d

Browse files
committed
Do also tmate for when debug logging enabled (e.g. on rerunning PR)
1 parent 4e63286 commit f6ca00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102

103103
- name: "(debug mode) Setup tmate session"
104104
uses: mxschmitt/action-tmate@v3
105-
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
105+
if: ${{ (github.event_name == 'workflow_dispatch' && inputs.debug_enabled) || (env.ACTIONS_RUNNER_DEBUG == 'true') }}
106106

107107
- name: Run all tests
108108
if: matrix.mode != 'dandi-api'

0 commit comments

Comments
 (0)