From 8a284a3efa2f799bbdcad9b4b64dc41818299ec7 Mon Sep 17 00:00:00 2001 From: Kevin Gartland Date: Wed, 31 Jan 2024 10:50:35 -0500 Subject: [PATCH] only use tmate on failure --- .github/workflows/contract.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/contract.yaml b/.github/workflows/contract.yaml index ab0a63a8d..e326bd944 100644 --- a/.github/workflows/contract.yaml +++ b/.github/workflows/contract.yaml @@ -37,6 +37,7 @@ jobs: token: ${{ secrets.CONNECT_PAT }} - name: Setup tmate session + if: failure() uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true