From e7bfeaab991b8d6fcf40e82ed8c0fbe86e3a4ed2 Mon Sep 17 00:00:00 2001 From: Delicious233 <101502465+DeliciousBuding@users.noreply.github.com> Date: Wed, 15 Jul 2026 03:49:48 +0800 Subject: [PATCH] ci(actions): S3 run default CI on ubuntu and narrow branches Windows runner reserved for explicit release needs; daily CI uses ubuntu to cut Actions cost. Limit push/PR to master. --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5a974b..c2448a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,11 +2,14 @@ name: CI on: pull_request: + branches: [master] push: - branches: - - master - - codex/ts-refactor - - release/npm-first + branches: [master] + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true permissions: contents: read @@ -14,7 +17,7 @@ permissions: jobs: npm-first-ts: name: npm-first TS baseline - runs-on: windows-latest + runs-on: ubuntu-latest timeout-minutes: 30 steps: