ci: Use tmate for debugging Github Actions CI

closes: #17631

Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 505efe9..32e368d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -319,6 +319,13 @@
         run: |
           make ${SHADOWOPT} ${TEST}
 
+      # Enable to debug failing tests live and ssh into the CI runners
+      # - name: Setup tmate session
+      #   if: ${{ failure() }}
+      #   uses: mxschmitt/action-tmate@v3
+      #   with:
+      #     limit-access-to-actor: true
+
       - if: ${{ !cancelled() }}
         uses: ./.github/actions/test_artifacts