diff --git a/.github/workflows/modules.yml b/.github/workflows/modules.yml index 3d02bcfa..1679c670 100644 --- a/.github/workflows/modules.yml +++ b/.github/workflows/modules.yml @@ -195,7 +195,7 @@ jobs: path: build/docs/python-api/* - name: "Setup tmate session (on failure and debug_enabled)" - if: "${{ failure() && ((github.event_name == 'workflow_dispatch' && inputs.debug_enabled) || contains( github.event.pull_request.labels.*.name, 'CI: Debug')) }}" + if: "${{ failure() && contains( github.event.pull_request.labels.*.name, 'CI: Debug') }}" uses: mxschmitt/action-tmate@v3 timeout-minutes: 30 with: @@ -365,7 +365,7 @@ jobs: verbosity: debug - name: "Setup tmate session (on failure and debug_enabled)" - if: "${{ failure() && ((github.event_name == 'workflow_dispatch' && inputs.debug_enabled) || contains( github.event.pull_request.labels.*.name, 'CI: Debug')) }}" + if: "${{ failure() && contains( github.event.pull_request.labels.*.name, 'CI: Debug') }}" uses: mxschmitt/action-tmate@v3 timeout-minutes: 30 with: @@ -438,7 +438,7 @@ jobs: ./inviwo --logconsole --quit - name: "Setup tmate session (on failure and debug_enabled)" - if: "${{ failure() && ((github.event_name == 'workflow_dispatch' && inputs.debug_enabled) || contains( github.event.pull_request.labels.*.name, 'CI: Debug')) }}" + if: "${{ failure() && contains( github.event.pull_request.labels.*.name, 'CI: Debug') }}" uses: mxschmitt/action-tmate@v3 timeout-minutes: 30 with: