From af2f935ab72c4188ece67d3d1766a9ebc63a9915 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 17 Jul 2025 21:00:35 +0800 Subject: [PATCH] .github: add timeout when sending coverage reports We also make it cancelable. --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a43c2cf54..34675e827 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -599,9 +599,10 @@ jobs: # Notify about the completion of all coverage collecting jobs. finish: name: Send coverage report - if: ${{ always() }} + if: ${{ !cancelled() }} needs: [unit-test, basic-integration-test] runs-on: ubuntu-latest + timeout-minutes: 5 steps: - name: Send coverage uses: coverallsapp/github-action@v2