ci: 仅 main 分支执行 CI/CD #1

Merged
Zayden-Jung merged 1 commits from codex/main-only-cicd into main 2026-11-03 19:05:20 +00:00
+2 -2
View File
@@ -6,12 +6,12 @@ name: ci
on:
push:
branches: [main, "ci/**"]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
if: gitea.ref == 'refs/heads/main'
runs-on: ubuntu24.04-x64-lean4.35
timeout-minutes: 20
steps: