Skip to content

Commit

Permalink
Do for any event, not just workflow_dispatch in case of debug_enabled
Browse files Browse the repository at this point in the history
Since otherwise cannot debug PRs or failed runs on CRON
  • Loading branch information
yarikoptic committed Sep 27, 2024
1 parent 4e63286 commit 6f451c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: "(debug mode) Setup tmate session"
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ inputs.debug_enabled }}

- name: Run all tests
if: matrix.mode != 'dandi-api'
Expand Down

0 comments on commit 6f451c7

Please sign in to comment.