From 774c6674d73b50c1c3f31cb85bcb00086fd6f5bf Mon Sep 17 00:00:00 2001 From: Martin van Es Date: Tue, 24 Sep 2024 10:51:54 +0200 Subject: [PATCH] Add tmate session to debug --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05464b3..7b8488d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,5 +111,14 @@ jobs: LDAP_URL: ldap://localhost:389 LDAP_BASE_DN: dc=services,dc=sram,dc=tld + # Setup tmate session + - name: Setup tmate session + env: + ACTIONS_STEP_DEBUG: ${{ secrets.ACTIONS_STEP_DEBUG}} + if: ${{ failure() && env.ACTIONS_STEP_DEBUG == 'true' }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true + timeout-minutes: 60