diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index cc8bff07..4406850c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,7 +6,7 @@ on: pull_request: branches: [main] schedule: - - cron: "0 5 1,15 * *" + - cron: "0 5 * * 1" # weekly, Monday 05:00 UTC concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -62,7 +62,8 @@ jobs: name: ${{ matrix.env.label }} runs-on: ${{ matrix.os }} - continue-on-error: ${{ contains(matrix.env.name, 'pre') }} # make "all-green" pass even if pre-release job fails + # Pre-release failures must not block PRs, but scheduled runs should go red (and notify) so upstream breakage is noticed early. + continue-on-error: ${{ contains(matrix.env.name, 'pre') && github.event_name != 'schedule' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1