Skip to content

Commit 7b30f48

Browse files
committed
fix tmate start only on successful tests
1 parent 111eb77 commit 7b30f48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
178178
- name: Setup tmate debug session
179179
continue-on-error: true
180-
if: ${{ contains(env.COMMIT_MESSAGE, '[gha-debug]') }}
180+
if: failure() && ${{ contains(env.COMMIT_MESSAGE, '[gha-debug]') }}
181181
uses: mxschmitt/action-tmate@v3
182182
timeout-minutes: 10
183183

0 commit comments

Comments
 (0)