diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 7c7093a0b6..046f42ff46 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -897,9 +897,10 @@ jobs: # the group. if: github.event.pull_request.draft != true && (needs.scope.outputs.flow == 'true' && github.event_name != 'merge_group') runs-on: ubuntu-latest - # The nightly tier (a schedule or a dispatch) also measures coverage, - # which slows the suite by about a third; it gets 60 minutes. - timeout-minutes: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && 60 || 40 }} + # Push runs on main execute the full 2-shard suite (~39m on shard 2/2) and + # nightly/dispatch runs also measure coverage; give both 60 minutes while + # keeping the 4-shard PR fast lane at 40 minutes. + timeout-minutes: ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event_name == 'push') && 60 || 40 }} strategy: fail-fast: false matrix: