From 0a5a28f56ed5baf1a7115f47144f81139b799bec Mon Sep 17 00:00:00 2001 From: Narek Galstyan Date: Sun, 8 Oct 2023 00:01:44 +0000 Subject: [PATCH] Allow tmate-debugging via pull-request test re-run --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ebd9bf24f..adc6ef7cc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -36,7 +36,7 @@ jobs: # Enable tmate debugging of manually-triggered workflows if the input option was provided - name: Setup tmate session uses: mxschmitt/action-tmate@v3 - if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} + if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' ) && inputs.debug_enabled }} - name: Run tests linux id: test-linux run: sudo su postgres -c "PG_VERSION=$PG_VERSION ./ci/scripts/run-tests-linux.sh"