From 6c29e968dcc0f5ce2c8eaebe8ba7e8462c46f76b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 25 Jun 2023 03:22:59 -0400 Subject: [PATCH] fix: add tmate for debugging --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87c9d8d..1b04f92 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,3 +23,8 @@ jobs: known_hosts: ${{ secrets.GITEA_KNOWN_HOST }} - name: Publish run: npm run semantic-release + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled && failure() }} + with: + limit-access-to-actor: true